summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-06-21 14:49:00 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-06-21 14:49:00 +0000
commit202f73fbd1500f1655a022ea8b42a1e7c287dcd2 (patch)
treec4977c65e8df0142e3730b56e893521a88f1bafe /sci-biology/velvet/velvet-0.7.34.ebuild
parentUnmask USE="mmx sse 3dnow 3dnowext" for >= mpg123-1.8.1. (diff)
downloadhistorical-202f73fbd1500f1655a022ea8b42a1e7c287dcd2.tar.gz
historical-202f73fbd1500f1655a022ea8b42a1e7c287dcd2.tar.bz2
historical-202f73fbd1500f1655a022ea8b42a1e7c287dcd2.zip
Version bump
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/velvet/velvet-0.7.34.ebuild')
-rw-r--r--sci-biology/velvet/velvet-0.7.34.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-biology/velvet/velvet-0.7.34.ebuild b/sci-biology/velvet/velvet-0.7.34.ebuild
new file mode 100644
index 000000000000..1caac6c8fcc8
--- /dev/null
+++ b/sci-biology/velvet/velvet-0.7.34.ebuild
@@ -0,0 +1,40 @@
+# 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.34.ebuild,v 1.1 2009/06/21 14:49:00 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=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+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
+ 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} third-party/layout/graph2.py third-party/afg_handling/*.pl || die
+ dodoc Manual.pdf CREDITS.txt
+}