summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-25 17:14:33 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-25 17:14:33 +0100
commit960abf9442aca3794235dc9f15e92005e9d0d77d (patch)
treed20f7091fa1c3f63d61fd78242e28e9aabc0613f /sci-biology/recon/recon-1.08.ebuild
parentsci-biology/kalign: Modernise to EAPI 6 (diff)
downloadgentoo-960abf9442aca3794235dc9f15e92005e9d0d77d.tar.gz
gentoo-960abf9442aca3794235dc9f15e92005e9d0d77d.tar.bz2
gentoo-960abf9442aca3794235dc9f15e92005e9d0d77d.zip
sci-biology/recon: Version bump to 1.08
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-biology/recon/recon-1.08.ebuild')
-rw-r--r--sci-biology/recon/recon-1.08.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-biology/recon/recon-1.08.ebuild b/sci-biology/recon/recon-1.08.ebuild
new file mode 100644
index 000000000000..8d934d014fd8
--- /dev/null
+++ b/sci-biology/recon/recon-1.08.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automated de novo identification of repeat families from genomic sequences"
+HOMEPAGE="http://www.repeatmasker.org/RepeatModeler.html"
+SRC_URI="http://www.repeatmasker.org/${P^^}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-lang/perl"
+
+S=${WORKDIR}/${P^^}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.08-buffer-overflow.patch
+ "${FILESDIR}"/${PN}-1.08-perl-shebangs.patch
+)
+
+src_prepare() {
+ default
+ sed -i "s|$path = \"\";|$path = \"${EPREFIX}/usr/libexec/${PN}\";|" scripts/recon.pl || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -C src
+}
+
+src_install() {
+ dobin scripts/*
+
+ exeinto /usr/libexec/${PN}
+ doexe src/{edgeredef,eledef,eleredef,famdef,imagespread}
+
+ newdoc {00,}README
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r Demos
+ fi
+}