aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2014-04-22 13:55:04 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2014-04-22 13:55:04 +0200
commitb137e4268aea18f1169d344b9596339e936a1367 (patch)
treed30ab010f33ca068f2618ebd27bb9ea126567f58 /sci-biology/trf/trf-4.07b.ebuild
parentsci-biology/mira-4.0.2: version bump (diff)
downloadsci-b137e4268aea18f1169d344b9596339e936a1367.tar.gz
sci-b137e4268aea18f1169d344b9596339e936a1367.tar.bz2
sci-b137e4268aea18f1169d344b9596339e936a1367.zip
sci-biology/trf-4.07b: version bump; install some HTML helpfiles as well
Package-Manager: portage-2.2.7
Diffstat (limited to 'sci-biology/trf/trf-4.07b.ebuild')
-rw-r--r--sci-biology/trf/trf-4.07b.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/trf/trf-4.07b.ebuild b/sci-biology/trf/trf-4.07b.ebuild
new file mode 100644
index 000000000..649d201e5
--- /dev/null
+++ b/sci-biology/trf/trf-4.07b.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/trf/trf-4.04.ebuild,v 1.6 2014/04/17 21:08:54 ulm Exp $
+
+EAPI=4
+
+inherit eutils
+
+MY_P="${PN}404"
+
+DESCRIPTION="Tandem Repeats Finder"
+HOMEPAGE="http://tandem.bu.edu/trf/trf.html"
+SRC_URI="http://tandem.bu.edu/trf/downloads/${MY_P}.linux
+ http://tandem.bu.edu/trf/trf.unix.help.html
+ http://tandem.bu.edu/trf/trf.definitions.html
+ http://tandem.bu.edu/trf/trf.whatnew.html"
+
+LICENSE="trf" # http://tandem.bu.edu/trf/trf.license.html
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror bindist"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/${PN}/.*"
+
+src_unpack() {
+ cp "${DISTDIR}/${MY_P}.linux" "${S}/${MY_P}.linux.exe" || die
+}
+
+src_install() {
+ exeinto /opt/${PN}
+ doexe trf404.linux.exe
+ dosym /opt/${PN}/${MY_P}.linux.exe /opt/bin/trf
+ # GTK version (http://tandem.bu.edu/trf/downloads/trf400.linuxgtk.exe) has broken linking
+ #if use gtk; then
+ # doexe trf400.linuxgtk.exe || die
+ # make_desktop_entry /opt/${PN}/trf400.linuxgtk.exe "Tandem Repeats Finder" || die
+ #fi
+ dodoc "${DISTDIR}/"trf.unix.help.html
+ dodoc "${DISTDIR}/"trf.definitions.html
+ dodoc "${DISTDIR}/"trf.whatnew.html
+}