summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-07-08 04:12:05 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-07-08 04:12:05 +0000
commitae68e83d489029922c37d9f7c0de8842cb532392 (patch)
tree032f7b7afed6dc9cf4301f2d490009c110d9b399 /sci-biology/velvet
parentNew package, ebuild written by me (diff)
downloadgentoo-2-ae68e83d489029922c37d9f7c0de8842cb532392.tar.gz
gentoo-2-ae68e83d489029922c37d9f7c0de8842cb532392.tar.bz2
gentoo-2-ae68e83d489029922c37d9f7c0de8842cb532392.zip
Version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/velvet')
-rw-r--r--sci-biology/velvet/ChangeLog7
-rw-r--r--sci-biology/velvet/velvet-0.7.42.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/sci-biology/velvet/ChangeLog b/sci-biology/velvet/ChangeLog
index 6e03c332fbe9..0ecec83ed919 100644
--- a/sci-biology/velvet/ChangeLog
+++ b/sci-biology/velvet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/velvet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v 1.2 2009/06/21 14:49:00 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v 1.3 2009/07/08 04:12:05 weaver Exp $
+
+*velvet-0.7.42 (07 Jul 2009)
+
+ 07 Jul 2009; Andrey Kislyuk <weaver@gentoo.org> +velvet-0.7.42.ebuild:
+ Version bump
*velvet-0.7.34 (21 Jun 2009)
diff --git a/sci-biology/velvet/velvet-0.7.42.ebuild b/sci-biology/velvet/velvet-0.7.42.ebuild
new file mode 100644
index 000000000000..3cbe310605d3
--- /dev/null
+++ b/sci-biology/velvet/velvet-0.7.42.ebuild
@@ -0,0 +1,42 @@
+# 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.42.ebuild,v 1.1 2009/07/08 04:12:05 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} || die
+ insinto /usr/share/${PN}
+ doins -r contrib || die
+ dodoc Manual.pdf CREDITS.txt
+}