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
commit9063d59a89c175efb4c7507992e068b898a51646 (patch)
treeec5623236ef612a7ffbb2fd031ad4c335ba7049b /sci-biology/glimmer/glimmer-3.02-r1.ebuild
parentBlock aspell-pt versions that would install a file conflict, per bug #247391. (diff)
downloadgentoo-2-9063d59a89c175efb4c7507992e068b898a51646.tar.gz
gentoo-2-9063d59a89c175efb4c7507992e068b898a51646.tar.bz2
gentoo-2-9063d59a89c175efb4c7507992e068b898a51646.zip
Collision block, bug 247394
(Portage version: 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
+}