aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrés Becerra <andres.becerra@gmail.com>2024-01-20 20:06:50 +0000
committerAndrés Becerra <andres.becerra@gmail.com>2024-01-20 20:06:50 +0000
commit828d4527193e60d8964f0a57c99813b6656182c9 (patch)
treeebf0973b7a31fcebcbbd3cd3b215a3d16e63d1f1 /sci-biology/cytoscape-bin
parentsys-boot/limine: add 7.0.0 (diff)
downloadguru-828d4527193e60d8964f0a57c99813b6656182c9.tar.gz
guru-828d4527193e60d8964f0a57c99813b6656182c9.tar.bz2
guru-828d4527193e60d8964f0a57c99813b6656182c9.zip
sci-biology/cytoscape-bin: new package
Signed-off-by: Andrés Becerra <andres.becerra@gmail.com>
Diffstat (limited to 'sci-biology/cytoscape-bin')
-rw-r--r--sci-biology/cytoscape-bin/Manifest1
-rw-r--r--sci-biology/cytoscape-bin/cytoscape-bin-3.10.1.ebuild41
-rw-r--r--sci-biology/cytoscape-bin/metadata.xml16
3 files changed, 58 insertions, 0 deletions
diff --git a/sci-biology/cytoscape-bin/Manifest b/sci-biology/cytoscape-bin/Manifest
new file mode 100644
index 000000000..cf3a195ac
--- /dev/null
+++ b/sci-biology/cytoscape-bin/Manifest
@@ -0,0 +1 @@
+DIST cytoscape-unix-3.10.1.tar.gz 344323313 BLAKE2B ffb27144b9c717762c4b96ea192cbde5a83e0e6264022e59f007a5989d0ba636959e459361ccc36a38ffc5615074e644daef5835cb56040e8f6072e279569c59 SHA512 4b37e72e339a60a5275ab31f112af5b042e190c26d6557c66e9ff5bc0aff547b481548c66696442ea5ef8df4bc3c191ef0f3f675060d033c2535ac954567218e
diff --git a/sci-biology/cytoscape-bin/cytoscape-bin-3.10.1.ebuild b/sci-biology/cytoscape-bin/cytoscape-bin-3.10.1.ebuild
new file mode 100644
index 000000000..b64d21345
--- /dev/null
+++ b/sci-biology/cytoscape-bin/cytoscape-bin-3.10.1.ebuild
@@ -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
+}
diff --git a/sci-biology/cytoscape-bin/metadata.xml b/sci-biology/cytoscape-bin/metadata.xml
new file mode 100644
index 000000000..ba5084d0c
--- /dev/null
+++ b/sci-biology/cytoscape-bin/metadata.xml
@@ -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>