1 |
commit: 53b2b237392972cb1f15086dbf5145004acf38da |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Sat Jul 30 00:10:03 2016 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Sat Jul 30 00:10:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=53b2b237 |
7 |
|
8 |
sci-biology/gbench: version bump; run configure; does not compile |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../{gbench-2.3.2.ebuild => gbench-2.10.7.ebuild} | 22 +++++++++++++++++----- |
13 |
1 file changed, 17 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sci-biology/gbench/gbench-2.3.2.ebuild b/sci-biology/gbench/gbench-2.10.7.ebuild |
16 |
similarity index 57% |
17 |
rename from sci-biology/gbench/gbench-2.3.2.ebuild |
18 |
rename to sci-biology/gbench/gbench-2.10.7.ebuild |
19 |
index abee15a..d205c87 100644 |
20 |
--- a/sci-biology/gbench/gbench-2.3.2.ebuild |
21 |
+++ b/sci-biology/gbench/gbench-2.10.7.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Id$ |
27 |
|
28 |
@@ -10,7 +10,7 @@ inherit python-single-r1 wxwidgets |
29 |
|
30 |
DESCRIPTION="View and analyze genome sequences" |
31 |
HOMEPAGE="http://www.ncbi.nlm.nih.gov/projects/gbench/" |
32 |
-SRC_URI="ftp://ftp.ncbi.nlm.nih.gov/toolbox/gbench/ver-2.3.2/gbench-src-"${PV}".tgz" |
33 |
+SRC_URI="ftp://ftp.ncbi.nlm.nih.gov/toolbox/gbench/ver-"${PV}"/gbench-src-"${PV}".tgz" |
34 |
|
35 |
LICENSE="public-domain" |
36 |
SLOT="0" |
37 |
@@ -34,13 +34,13 @@ RDEPEND="${PYTHON_DEPS} |
38 |
dev-util/cppunit |
39 |
media-libs/freetype |
40 |
media-libs/giflib |
41 |
- media-libs/glew |
42 |
+ media-libs/glew:= |
43 |
media-libs/tiff:0= |
44 |
net-libs/gnutls |
45 |
sci-libs/hdf5 |
46 |
sys-fs/fuse |
47 |
sys-libs/db:* |
48 |
- virtual/glut |
49 |
+ virtual/glu |
50 |
virtual/opengl |
51 |
x11-libs/fltk |
52 |
x11-libs/wxGTK:* |
53 |
@@ -59,4 +59,16 @@ RDEPEND="${PYTHON_DEPS} |
54 |
" |
55 |
DEPEND="${RDEPEND}" |
56 |
|
57 |
-# ensure in src_compile no --mandir=/usr/share/man is passed to configure, use the ebuild logic from ncbi-tools++ |
58 |
+# recycle ebuild logic from ncbi-tools++ |
59 |
+ |
60 |
+S="${WORKDIR}"/gbench-src-"${PV}" |
61 |
+ |
62 |
+src_configure(){ |
63 |
+ # configure: error: --mandir=/usr/share/man: unknown option; use --help to show usage |
64 |
+ # configure: error: --infodir=/usr/share/info: unknown option; use --help to show usage |
65 |
+ # configure: error: --datadir=/usr/share: unknown option; use --help to show usage |
66 |
+ # configure: error: --sysconfdir=/etc: unknown option; use --help to show usage |
67 |
+ # configure: error: --localstatedir=/var/lib: unknown option; use --help to show usage |
68 |
+ ./configure --prefix="${DESTDIR}"/"${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" CC="$(tc-getCC)" \ |
69 |
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die |
70 |
+} |