diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-29 02:16:25 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-29 02:16:25 +0000 |
commit | e2c923777ad176d62d709146cb278ec2ccb1b22e (patch) | |
tree | 4bbfbb3ca507c4fc694beae96034a182afdd6d4b /sci-biology/mummer/mummer-3.22.ebuild | |
parent | Restore erroneously removed patch (diff) | |
download | historical-e2c923777ad176d62d709146cb278ec2ccb1b22e.tar.gz historical-e2c923777ad176d62d709146cb278ec2ccb1b22e.tar.bz2 historical-e2c923777ad176d62d709146cb278ec2ccb1b22e.zip |
Version bump
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/mummer/mummer-3.22.ebuild')
-rw-r--r-- | sci-biology/mummer/mummer-3.22.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sci-biology/mummer/mummer-3.22.ebuild b/sci-biology/mummer/mummer-3.22.ebuild new file mode 100644 index 000000000000..5b5c0ecc5ad8 --- /dev/null +++ b/sci-biology/mummer/mummer-3.22.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/mummer/mummer-3.22.ebuild,v 1.1 2009/10/29 02:16:25 weaver Exp $ + +inherit eutils + +DESCRIPTION="A rapid whole genome aligner" +HOMEPAGE="http://mummer.sourceforge.net/" +SRC_URI="mirror://sourceforge/mummer/MUMmer${PV}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +IUSE="doc" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="app-shells/tcsh" + +S="${WORKDIR}/MUMmer${PV}" + +src_unpack() { + unpack ${A} + # Warning: package uses CPPFLAGS on c as well as cpp, despite the name + sed -i -e 's/CPPFLAGS =/CPPFLAGS = ${CFLAGS} /' \ + -e 's/LDFLAGS =$//' "${S}/Makefile" || die +} + +src_compile() { + emake || die + + sed -i -e 's|\($AUX_BIN_DIR = "\).*"|\1/usr/bin"|' \ + -e 's|\($BIN_DIR = "\).*"|\1/usr/bin"|' \ + -e 's|\($SCRIPT_DIR = "\).*"|\1/usr/share/'${PN}'/lib"|' \ + -e 's|\(set bindir = \).*|\1/usr/bin|' \ + -e 's|\(set scriptdir = \).*|\1/usr/share/'${PN}'/scripts|' \ + -e 's|\(use lib "\).*"|\1/usr/share/'${PN}'/lib"|' \ + scripts/* exact-tandems mapview mummerplot nucmer promer run-mummer{1,3} || die + mv annotate mummer-annotate || die + sed -i 's|$bindir/annotate|$bindir/mummer-annotate|' run-mummer1 scripts/run-mummer1.csh || die +} + +src_install() { + dobin $(find . -maxdepth 1 -type f -executable) aux_bin/* || die + + insinto /usr/share/${PN}/scripts + doins scripts/{*.awk,*.csh,*.pl} || die + insinto /usr/share/${PN}/lib + doins scripts/Foundation.pm || die + + dodoc ACKNOWLEDGEMENTS ChangeLog README + insinto /usr/share/doc/${PF} + use doc && doins -r docs +} |