1 |
weaver 11/02/03 02:40:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: velvet-1.0.18.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2_rc86/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 sci-biology/velvet/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/velvet/ChangeLog?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/velvet/ChangeLog?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/velvet/ChangeLog?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- ChangeLog 20 Jun 2010 18:06:38 -0000 1.12 |
24 |
+++ ChangeLog 3 Feb 2011 02:40:47 -0000 1.13 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-biology/velvet |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v 1.12 2010/06/20 18:06:38 xarthisius Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/ChangeLog,v 1.13 2011/02/03 02:40:47 weaver Exp $ |
31 |
+ |
32 |
+*velvet-1.0.18 (03 Feb 2011) |
33 |
+ |
34 |
+ 03 Feb 2011; Andrey Kislyuk <weaver@g.o> +velvet-1.0.18.ebuild, |
35 |
+ +files/velvet-1.0.18-gentoo.diff: |
36 |
+ Version bump |
37 |
|
38 |
20 Jun 2010; Kacper Kowalik <xarthisius@g.o> -velvet-0.7.50.ebuild: |
39 |
Remove old |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-biology/velvet/velvet-1.0.18.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/velvet/velvet-1.0.18.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/velvet/velvet-1.0.18.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: velvet-1.0.18.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/velvet/velvet-1.0.18.ebuild,v 1.1 2011/02/03 02:40:47 weaver Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
inherit eutils toolchain-funcs flag-o-matic |
57 |
|
58 |
MY_P=${PN}_${PV} |
59 |
|
60 |
DESCRIPTION="A sequence assembler for very short reads" |
61 |
HOMEPAGE="http://www.ebi.ac.uk/~zerbino/velvet/" |
62 |
SRC_URI="http://www.ebi.ac.uk/~zerbino/velvet/${MY_P}.tgz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
IUSE="-doc" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
|
69 |
DEPEND="doc? ( virtual/latex-base )" |
70 |
RDEPEND="" |
71 |
|
72 |
S="${WORKDIR}/${MY_P}" |
73 |
|
74 |
src_prepare() { |
75 |
append-flags -O3 # as recommended by upstream |
76 |
filter-ldflags -Wl,--as-needed # sorry, no time to deal with this. patches welcome |
77 |
epatch "${FILESDIR}"/${P}-gentoo.diff |
78 |
use doc || sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
tc-export CC |
83 |
MAKE_XOPTS="" |
84 |
if [[ $VELVET_MAXKMERLENGTH != "" ]]; then MAKE_XOPTS="$MAKE_XOPTS MAXKMERLENGTH=$VELVET_MAXKMERLENGTH"; fi |
85 |
if [[ $VELVET_CATEGORIES != "" ]]; then MAKE_XOPTS="$MAKE_XOPTS CATEGORIES=$VELVET_CATEGORIES"; fi |
86 |
emake -j1 $MAKE_XOPTS || die |
87 |
emake -j1 $MAKE_XOPTS color || die |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
dobin velvet{g,h,g_de,h_de} || die |
92 |
insinto /usr/share/${PN} |
93 |
doins -r contrib || die |
94 |
dodoc Manual.pdf CREDITS.txt ChangeLog || die |
95 |
} |
96 |
|
97 |
pkg_postinst() { |
98 |
elog "To adjust the MAXKMERLENGTH or CATEGORIES parameters as described in the manual," |
99 |
elog "please set the variables VELVET_MAXKMERLENGTH or VELVET_CATEGORIES in your" |
100 |
elog "environment or /etc/make.conf, then re-emerge the package. For example:" |
101 |
elog " VELVET_MAXKMERLENGTH=NN emerge [options] velvet" |
102 |
} |