1 |
jlec 10/06/26 11:04:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ncbi-tools++-2009.05.15-r6.ebuild |
5 |
Removed: ncbi-tools++-2009.05.15-r5.ebuild |
6 |
Log: |
7 |
Fixed as-needed problem |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.16 sci-biology/ncbi-tools++/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?rev=1.16&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?rev=1.16&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?r1=1.15&r2=1.16 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v |
20 |
retrieving revision 1.15 |
21 |
retrieving revision 1.16 |
22 |
diff -u -r1.15 -r1.16 |
23 |
--- ChangeLog 26 Jun 2010 07:28:40 -0000 1.15 |
24 |
+++ ChangeLog 26 Jun 2010 11:04:59 -0000 1.16 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sci-biology/ncbi-tools++ |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.15 2010/06/26 07:28:40 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.16 2010/06/26 11:04:59 jlec Exp $ |
30 |
+ |
31 |
+*ncbi-tools++-2009.05.15-r6 (26 Jun 2010) |
32 |
+ |
33 |
+ 26 Jun 2010; Justin Lecher <jlec@g.o> |
34 |
+ -ncbi-tools++-2009.05.15-r5.ebuild, +ncbi-tools++-2009.05.15-r6.ebuild, |
35 |
+ +files/ncbi-tools++-2009.05.15-asneeded.patch: |
36 |
+ Fixed as-needed problem |
37 |
|
38 |
26 Jun 2010; Justin Lecher <jlec@g.o> |
39 |
ncbi-tools++-2009.05.15-r5.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ncbi-tools++-2009.05.15-r6.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r6.ebuild,v 1.1 2010/06/26 11:04:59 jlec Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
inherit eutils flag-o-matic multilib toolchain-funcs |
57 |
|
58 |
MY_TAG="May_15_2009" |
59 |
MY_Y="${MY_TAG/*_/}" |
60 |
MY_P="ncbi_cxx--${MY_TAG}" |
61 |
|
62 |
DESCRIPTION="NCBI C++ Toolkit, including NCBI BLAST+" |
63 |
HOMEPAGE="http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=toolkit" |
64 |
SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/${MY_Y}/${MY_TAG}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="public-domain" |
67 |
SLOT="0" |
68 |
#IUSE="X unicode opengl gnutls test" |
69 |
IUSE="sqlite" |
70 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
71 |
|
72 |
# wxGTK: must run eselect wxwindows after installing wxgtk or build will fail. Check and abort here. |
73 |
# dev-libs/xalan-c - problems detecting, api mismatch? |
74 |
|
75 |
# apparently gbench-only dependencies |
76 |
# dev-libs/libxml2 |
77 |
# dev-libs/libxslt |
78 |
# dev-libs/xerces-c |
79 |
# dev-libs/lzo:2 |
80 |
# dev-libs/boost |
81 |
# app-text/sablotron |
82 |
# media-libs/libpng |
83 |
# media-libs/tiff |
84 |
# media-libs/jpeg |
85 |
# x11-libs/libXpm |
86 |
# unicode? ( dev-libs/icu ) |
87 |
# opengl? ( media-libs/glut |
88 |
# media-libs/mesa ) |
89 |
# gnutls? ( net-libs/gnutls ) |
90 |
# X? ( x11-libs/fltk:1.1 |
91 |
# x11-libs/wxGTK ) |
92 |
|
93 |
DEPEND="sqlite? ( dev-db/sqlite:3 )" |
94 |
RDEPEND="${DEPEND}" |
95 |
|
96 |
S="${WORKDIR}/${MY_P}" |
97 |
|
98 |
src_prepare() { |
99 |
epatch "${FILESDIR}"/${P}-gcc44.patch \ |
100 |
"${FILESDIR}"/${P}-asneeded.patch |
101 |
sed -i -e 's/-print-file-name=libstdc++.a//' \ |
102 |
-e '/sed/ s/\([gO]\[0-9\]\)\*/\1\\+/' \ |
103 |
src/build-system/configure || die |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
# required with gcc-4.4 and code turned on by --with-mt |
108 |
append-cxxflags -fpermissive |
109 |
|
110 |
tc-export CXX CC |
111 |
|
112 |
# econf fails |
113 |
# --with-bin-release and --without-ftds are workarounds for build system bugs |
114 |
# --without-boost: see bug 312921 |
115 |
# NB: build system supports ICC |
116 |
"${S}"/configure --without-debug \ |
117 |
--with-bin-release \ |
118 |
--without-static \ |
119 |
--with-dll \ |
120 |
--without-ftds \ |
121 |
--without-boost \ |
122 |
--prefix="${ED}"/usr \ |
123 |
--libdir="${ED}"/usr/$(get_libdir)/${PN} \ |
124 |
--with-z="${EPREFIX}/usr" \ |
125 |
--with-bz2="${EPREFIX}/usr" \ |
126 |
--with-pcre="${EPREFIX}/usr" \ |
127 |
--with-openssl="${EPREFIX}/usr" \ |
128 |
--with-mt \ |
129 |
|| die |
130 |
|
131 |
# apparently gbench-only configs |
132 |
# --with-boost="/usr" \ |
133 |
# --with-sablot="/usr" \ |
134 |
# --with-icu="/usr" \ |
135 |
# --with-fltk="/usr" \ |
136 |
# --with-mesa="/usr" \ |
137 |
# --with-glut="/usr" \ |
138 |
# --with-wxwidgets="/usr" \ |
139 |
# problems detecting this |
140 |
# --with-xalan="/usr" \ |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
emake all_r -C GCC*-Release*/build || die |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
emake install || die |
149 |
# File collisions with sci-biology/ncbi-tools |
150 |
rm -f "${ED}"/usr/bin/{asn2asn,rpsblast,test_regexp} |
151 |
|
152 |
echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}" > ${S}/99${PN} |
153 |
doenvd "${S}/99${PN}" |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
einfo 'Please run "source /etc/profile" before using this package in the current shell.' |
158 |
} |