Gentoo Archives: gentoo-commits

From: "Andrey Kislyuk (weaver)" <weaver@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/ncbi-tools++: ChangeLog ncbi-tools++-2009.05.15-r2.ebuild ncbi-tools++-2009.05.15-r1.ebuild
Date: Fri, 26 Feb 2010 16:07:06
Message-Id: E1Nl2iV-0003ct-HP@stork.gentoo.org
1 weaver 10/02/26 16:07:03
2
3 Modified: ChangeLog
4 Added: ncbi-tools++-2009.05.15-r2.ebuild
5 Removed: ncbi-tools++-2009.05.15-r1.ebuild
6 Log:
7 Set custom lib dir, bug 306595
8 (Portage version: 2.2_rc30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.10 sci-biology/ncbi-tools++/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 12 Jan 2010 14:46:33 -0000 1.9
24 +++ ChangeLog 26 Feb 2010 16:07:02 -0000 1.10
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.9 2010/01/12 14:46:33 weaver Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.10 2010/02/26 16:07:02 weaver Exp $
30 +
31 +*ncbi-tools++-2009.05.15-r2 (26 Feb 2010)
32 +
33 + 26 Feb 2010; Andrey Kislyuk <weaver@g.o>
34 + -ncbi-tools++-2009.05.15-r1.ebuild, +ncbi-tools++-2009.05.15-r2.ebuild:
35 + Set custom lib dir, bug 306595
36
37 12 Jan 2010; Andrey Kislyuk <weaver@g.o>
38 ncbi-tools++-2009.05.15-r1.ebuild:
39
40
41
42 1.1 sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ncbi-tools++-2009.05.15-r2.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-r2.ebuild,v 1.1 2010/02/26 16:07:02 weaver Exp $
52
53 EAPI="2"
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"
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//' src/build-system/configure
100 }
101
102 src_configure() {
103 # econf fails
104 # --with-bin-release and --without-ftds are workarounds for build system bugs
105 # NB: build system supports ICC
106 "${S}"/configure --without-debug \
107 --with-bin-release \
108 --without-static \
109 --with-dll \
110 --without-ftds \
111 --prefix="${D}"/usr \
112 --libdir="${D}"/usr/$(get_libdir)/${PN} \
113 --with-z="/usr" \
114 --with-bz2="/usr" \
115 --with-pcre="/usr" \
116 --with-openssl="/usr" \
117 || die
118
119 # --with-mt \ # fails with gcc-4.4 but not 4.3
120
121 # apparently gbench-only configs
122 # --with-boost="/usr" \
123 # --with-sablot="/usr" \
124 # --with-icu="/usr" \
125 # --with-fltk="/usr" \
126 # --with-mesa="/usr" \
127 # --with-glut="/usr" \
128 # --with-wxwidgets="/usr" \
129 # problems detecting this
130 # --with-xalan="/usr" \
131 }
132
133 src_compile() {
134 emake all_r -C GCC*-Release*/build || die
135 }
136
137 src_install() {
138 emake install || die
139 # File collisions with sci-biology/ncbi-tools
140 rm -f "${D}"/usr/bin/{asn2asn,rpsblast,test_regexp}
141
142 echo "LD_LIBRARY_PATH=/usr/lib/${PN}" > ${S}/99${PN}
143 doenvd "${S}/99${PN}"
144 }
145
146 pkg_postinst() {
147 einfo 'Please run "source /etc/profile" before using this package in the current shell.'
148 }