summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2010-05-05 07:14:47 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2010-05-05 07:14:47 +0000
commit1e2a17a9c7a55b6a5c684376c9d310b30f9ff75b (patch)
tree5d22002d9a4272c5e66b2c897221498210ae6c4c /sci-biology/velvet
parentVersion bump (diff)
downloadgentoo-2-1e2a17a9c7a55b6a5c684376c9d310b30f9ff75b.tar.gz
gentoo-2-1e2a17a9c7a55b6a5c684376c9d310b30f9ff75b.tar.bz2
gentoo-2-1e2a17a9c7a55b6a5c684376c9d310b30f9ff75b.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/velvet')
-rw-r--r--sci-biology/velvet/ChangeLog9
-rw-r--r--sci-biology/velvet/velvet-0.7.62.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/sci-biology/velvet/ChangeLog b/sci-biology/velvet/ChangeLog
index c0d88b9d2399..83bfa5aea41b 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.9 2009/10/31 17:57:32 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v 1.10 2010/05/05 07:14:47 weaver Exp $
+
+*velvet-0.7.62 (05 May 2010)
+
+ 05 May 2010; Andrey Kislyuk <weaver@gentoo.org> +velvet-0.7.62.ebuild:
+ Version bump
31 Oct 2009; Markus Meier <maekke@gentoo.org> velvet-0.7.55.ebuild:
amd64/x86 stable, bug #290936
diff --git a/sci-biology/velvet/velvet-0.7.62.ebuild b/sci-biology/velvet/velvet-0.7.62.ebuild
new file mode 100644
index 000000000000..71f6c0976e4e
--- /dev/null
+++ b/sci-biology/velvet/velvet-0.7.62.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/velvet-0.7.62.ebuild,v 1.1 2010/05/05 07:14:47 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//' \
+ -e '/obj:/ s/zlib//' -e '/obj_de:/ 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() {
+ MAKE_XOPTS=""
+ if [[ $VELVET_MAXKMERLENGTH != "" ]]; then MAKE_XOPTS="$MAKE_XOPTS MAXKMERLENGTH=$VELVET_MAXKMERLENGTH"; fi
+ if [[ $VELVET_CATEGORIES != "" ]]; then MAKE_XOPTS="$MAKE_XOPTS CATEGORIES=$VELVET_CATEGORIES"; fi
+ emake -j1 $MAKE_XOPTS || die
+ emake -j1 $MAKE_XOPTS 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
+}
+
+pkg_postinst() {
+ elog "To adjust the MAXKMERLENGTH or CATEGORIES parameters as described in the manual,"
+ elog "please set the variables VELVET_MAXKMERLENGTH or VELVET_CATEGORIES in your"
+ elog "environment or /etc/make.conf, then re-emerge the package. For example:"
+ elog " VELVET_MAXKMERLENGTH=NN emerge [options] velvet"
+}