summaryrefslogtreecommitdiff
path: root/sci-biology/ApE
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/ApE
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/ApE')
-rw-r--r--sci-biology/ApE/ApE-2.0.7-r1.ebuild53
-rw-r--r--sci-biology/ApE/Manifest5
-rw-r--r--sci-biology/ApE/metadata.xml4
3 files changed, 62 insertions, 0 deletions
diff --git a/sci-biology/ApE/ApE-2.0.7-r1.ebuild b/sci-biology/ApE/ApE-2.0.7-r1.ebuild
new file mode 100644
index 000000000000..a86386004736
--- /dev/null
+++ b/sci-biology/ApE/ApE-2.0.7-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A Plasmid Editor"
+HOMEPAGE="http://www.biology.utah.edu/jorgensen/wayned/ape/"
+SRC_URI="http://www.biology.utah.edu/jorgensen/wayned/ape/Download/Linux/ApE_linux_current.zip -> ${P}.zip"
+
+LICENSE="ApE"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="
+ dev-lang/tcl:0
+ dev-lang/tk:0"
+
+RESTRICT="mirror"
+
+S="${WORKDIR}/ApE Linux/"
+
+src_compile() { :; }
+
+src_install() {
+ cat >> "${T}/ApE" <<- "EOF"
+ #!/bin/bash
+ cmdArgs=""
+
+ # AppMain.tcl searches files relative to the directory where it resides.
+ # Add absolute path to file here, if necessary.
+ for rfpath in "$@"; do
+ afpath="$PWD/${rfpath}"
+ if test -r "${afpath}"; then
+ cmdArgs="${cmdArgs} \"${afpath}\"";
+ else
+ cmdArgs="${cmdArgs} \"${rfpath}\"";
+ fi
+ done
+
+ eval exec tclsh "\"/usr/share/ApE-2.0.7/AppMain.tcl\"" "${cmdArgs}"
+ EOF
+
+ dobin "${T}/ApE"
+ insinto "/usr/share/${P}"
+ doins -r "${WORKDIR}"/ApE\ Linux/*
+ make_desktop_entry ${PN} ${PN} \
+ "/usr/share/${P}/Accessory Files/Icons and images/monkey_icon.gif" \
+ "Science"
+}
diff --git a/sci-biology/ApE/Manifest b/sci-biology/ApE/Manifest
new file mode 100644
index 000000000000..c6024d647ae1
--- /dev/null
+++ b/sci-biology/ApE/Manifest
@@ -0,0 +1,5 @@
+DIST ApE-2.0.7.zip 318454 SHA256 9d718562ef250b68dfad1de7d4179540fc04c001b0fdc5e9bd70f3605561bc32 SHA512 073e3f96badf4888c10a7c7eb453a3775d5bb9136b0bd836d37d1be784847f887e0c68b37325f430eebfb90c2d94021f10d4e8ede92de89b1ab1ddc1ffdbc254 WHIRLPOOL d13e8a997c36f8e7ac951a17c195a714a243292f9a99f524758b09b1fdc9f436b11cf1124ac1a3527ff70aa8cc6dc9ac516a910246f9f6e4f8376c78e8b44013
+EBUILD ApE-2.0.7-r1.ebuild 1170 SHA256 7384c2cc9eeb2a5be2d2f5c666bb0863e96662facccd5d24d0c54f67ea2dc3de SHA512 7260638810e5ef22da0b07f05e3046451e3b3a581706326caa073ff49255a36770cd622cbd0c428010fb39950b54248aa6112f8aa525260d8ebd312bc21d75ab WHIRLPOOL 333a557c28960b108c3879e9a78d859677ba33dc4f7c5a854fcae331ca118c1faf79199cb4f44d405c570251aefdc2f96b4159b566195e307676ea7171b745bb
+MISC ChangeLog 2294 SHA256 b84ab03703ae606925d2afe2040749655e151401301ffed6f074fd1d18e0e653 SHA512 f8df638de8b147a180ee9f150a134abad76a58f20fcac2249995f0b7ef6b93bd31a469644253119301516c992f43496e477ce5cde33e3c5fc869dcbc1d16c757 WHIRLPOOL 18ebe7545252f1b8aedc7e712d6a134613ac3435412b95c48b3d8549deccbbb806f7776780e8f204ab6b6dcaf53086b2bf167893a113286ffce187cba9d89a4d
+MISC ChangeLog-2015 1681 SHA256 ed4f99c5e1c819ad466daf75129d3f88c11997a4692a9a4f6287fa2a7d627578 SHA512 d0f2f54e7cdf3778d6afa724899360a2148ecc26d1e4147fd406e28bf595764edefcf021232a2a7e0fc8531596ce190abd0348258975e72716ab0cbae8b24cbe WHIRLPOOL 858889149946910622afde6a802553fbc50a9d75b800406a84beb0ba73df373a5782637f4c46e60daed246c8e364c5b8f002245f15f5a47445131103a6c8bdd0
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/sci-biology/ApE/metadata.xml b/sci-biology/ApE/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/sci-biology/ApE/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>