From 9063d59a89c175efb4c7507992e068b898a51646 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sun, 4 Jan 2009 01:24:22 +0000 Subject: Collision block, bug 247394 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-tuxonice i686) --- sci-biology/glimmer/glimmer-3.02-r1.ebuild | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sci-biology/glimmer/glimmer-3.02-r1.ebuild (limited to 'sci-biology/glimmer/glimmer-3.02-r1.ebuild') 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 /include /' 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 +} -- cgit v1.2.3-65-gdbad