summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-01-04 01:24:22 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-01-04 01:24:22 +0000
commitaa9ce06cb644cd9142649b104eff6ebfb91c6f03 (patch)
tree1baa9e82e6a714f5e5070a09d4c8b9cf1e83b8aa /sci-biology/glimmer/glimmer-3.02-r1.ebuild
parentBlock aspell-pt versions that would install a file conflict, per bug #247391. (diff)
downloadhistorical-aa9ce06cb644cd9142649b104eff6ebfb91c6f03.tar.gz
historical-aa9ce06cb644cd9142649b104eff6ebfb91c6f03.tar.bz2
historical-aa9ce06cb644cd9142649b104eff6ebfb91c6f03.zip
Collision block, bug 247394
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'sci-biology/glimmer/glimmer-3.02-r1.ebuild')
-rw-r--r--sci-biology/glimmer/glimmer-3.02-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-biology/glimmer/glimmer-3.02-r1.ebuild b/sci-biology/glimmer/glimmer-3.02-r1.ebuild
new file mode 100644
index 000000000000..d83c29e0e9a4
--- /dev/null
+++ b/sci-biology/glimmer/glimmer-3.02-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/glimmer/glimmer-3.02-r1.ebuild,v 1.1 2009/01/04 01:24:22 weaver Exp $
+
+inherit versionator
+
+MY_PV=$(delete_all_version_separators)
+
+DESCRIPTION="An HMM-based microbial gene finding system from TIGR"
+HOMEPAGE="http://www.cbcb.umd.edu/software/glimmer/"
+SRC_URI="http://www.cbcb.umd.edu/software/${PN}/${PN}${MY_PV}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="!app-crypt/pkcrack
+ !media-libs/libextractor"
+
+S="${WORKDIR}/${PN}${PV}"
+
+src_compile() {
+ sed -i -e 's|\(set awkpath =\).*|\1 /usr/share/'${PN}'/scripts|' \
+ -e 's|\(set glimmerpath =\).*|\1 /usr/bin|' scripts/* || die "failed to rewrite paths"
+ sed -i 's/include <string>/include <string.h>/' src/Common/delcher.hh
+ cd src
+ emake || die "emake failed"
+}
+
+src_install() {
+ rm bin/test
+ dobin bin/*
+
+ dodir /usr/share/${PN}/scripts
+ insinto /usr/share/${PN}/scripts
+ doins scripts/*
+
+ dodoc glim302notes.pdf
+}