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