diff options
author | 2009-09-19 23:25:41 +0000 | |
---|---|---|
committer | 2009-09-19 23:25:41 +0000 | |
commit | 106c00e35967b5b1448bc325f2ccf40897c90723 (patch) | |
tree | 8cbd62343b86cb1336758320f9d5d2df5c6a686a /sci-biology/velvet/velvet-0.7.55.ebuild | |
parent | x11-apps/xdm: bump to 1.1.9 (diff) | |
download | gentoo-2-106c00e35967b5b1448bc325f2ccf40897c90723.tar.gz gentoo-2-106c00e35967b5b1448bc325f2ccf40897c90723.tar.bz2 gentoo-2-106c00e35967b5b1448bc325f2ccf40897c90723.zip |
Version bump, drop old
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/velvet/velvet-0.7.55.ebuild')
-rw-r--r-- | sci-biology/velvet/velvet-0.7.55.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/velvet/velvet-0.7.55.ebuild b/sci-biology/velvet/velvet-0.7.55.ebuild new file mode 100644 index 000000000000..ed683d3562ff --- /dev/null +++ b/sci-biology/velvet/velvet-0.7.55.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/velvet-0.7.55.ebuild,v 1.1 2009/09/19 23:25:41 weaver Exp $ + +EAPI="2" + +MY_P="${PN}_${PV}" + +DESCRIPTION="A sequence assembler for very short reads" +HOMEPAGE="http://www.ebi.ac.uk/~zerbino/velvet/" +SRC_URI="http://www.ebi.ac.uk/~zerbino/velvet/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="-doc" +KEYWORDS="~amd64 ~x86" + +DEPEND="doc? ( virtual/latex-base )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + rm -rf "${S}"/third-party/zlib* + sed -i -e '/\(CFLAGS\|LDFLAGS\|Z_LIB_DIR\|Z_LIB_FILES\) *= */d' \ + -e '1 a CFLAGS+= -Wall' -e '1 a LDFLAGS+= -lm -lz' \ + -e '/default :/ s/zlib//' -e '/color :/ s/zlib//' \ + "${S}"/Makefile || die + use doc || sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die + sed -i -e '/zlib.h/d' -e '1 i #include <zlib.h>' "${S}"/src/readSet.c || die +} + +src_compile() { + emake -j1 || die + emake -j1 color || die +} + +src_install() { + dobin velvet{g,h,g_de,h_de} || die + insinto /usr/share/${PN} + doins -r contrib || die + dodoc Manual.pdf CREDITS.txt +} |