From b4e55ca62c37097321fa10649161d8718b15bdca Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 25 Feb 2017 21:18:05 +0100 Subject: sci-biology/trf: Modernise to EAPI 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- sci-biology/trf/trf-4.04-r1.ebuild | 30 ++++++++++++++++++++++++++++++ sci-biology/trf/trf-4.04.ebuild | 37 ------------------------------------- 2 files changed, 30 insertions(+), 37 deletions(-) create mode 100644 sci-biology/trf/trf-4.04-r1.ebuild delete mode 100644 sci-biology/trf/trf-4.04.ebuild (limited to 'sci-biology/trf') diff --git a/sci-biology/trf/trf-4.04-r1.ebuild b/sci-biology/trf/trf-4.04-r1.ebuild new file mode 100644 index 000000000000..6ea8e1e0f24c --- /dev/null +++ b/sci-biology/trf/trf-4.04-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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" + +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 +} diff --git a/sci-biology/trf/trf-4.04.ebuild b/sci-biology/trf/trf-4.04.ebuild deleted file mode 100644 index 81d540251f07..000000000000 --- a/sci-biology/trf/trf-4.04.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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" - -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 -} -- cgit v1.2.3-65-gdbad