sci-biology/cytoscape-bin: new package

Signed-off-by: Andrés Becerra <andres.becerra@gmail.com>
This commit is contained in:
Andrés Becerra
2024-01-20 20:06:50 +00:00
parent ad13953936
commit 828d452719
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST cytoscape-unix-3.10.1.tar.gz 344323313 BLAKE2B ffb27144b9c717762c4b96ea192cbde5a83e0e6264022e59f007a5989d0ba636959e459361ccc36a38ffc5615074e644daef5835cb56040e8f6072e279569c59 SHA512 4b37e72e339a60a5275ab31f112af5b042e190c26d6557c66e9ff5bc0aff547b481548c66696442ea5ef8df4bc3c191ef0f3f675060d033c2535ac954567218e

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit desktop java-pkg-2
DESCRIPTION="A visualization platform for molecular interaction networks"
HOMEPAGE="http://www.cytoscape.org/"
SRC_URI="https://github.com/cytoscape/cytoscape/releases/download/${PV}/cytoscape-unix-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
RDEPEND=">=virtual/jre-11-r2"
S="${WORKDIR}"
src_install() {
MY_PN="cytoscape"
MYW="${WORKDIR}/${MY_PN}-unix-${PV}"
insinto "/opt/${MY_PN}"
doins -r ${MYW}/apps
doins -r ${MYW}/framework
doins -r ${MYW}/sampleData
cd ${MYW}
sh gen_vmoptions.sh
doins Cytoscape.vmoptions
exeinto "/opt/${MY_PN}"
doexe "${MYW}/${MY_PN}.sh"
dosym "${EPREFIX}/opt/${MY_PN}/${MY_PN}.sh" "${EPREFIX}/opt/bin/${MY_PN}"
exeinto "/opt/${MY_PN}/framework/bin"
doexe framework/bin/karaf
newicon framework/cytoscape_logo_512.png cytoscape_logo.png
make_desktop_entry ${MY_PN} CytoScape cytoscape_logo Science
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andres.becerra@gmail.com</email>
<name>Andrés Becerra Sandoval</name>
</maintainer>
<maintainer type="project">
<email>sci-biology@gentoo.org</email>
<name>>Gentoo Biology Project</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>