commit: 53b2b237392972cb1f15086dbf5145004acf38da Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Sat Jul 30 00:10:03 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Sat Jul 30 00:10:03 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=53b2b237
sci-biology/gbench: version bump; run configure; does not compile Package-Manager: portage-2.3.0 .../{gbench-2.3.2.ebuild => gbench-2.10.7.ebuild} | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/sci-biology/gbench/gbench-2.3.2.ebuild b/sci-biology/gbench/gbench-2.10.7.ebuild similarity index 57% rename from sci-biology/gbench/gbench-2.3.2.ebuild rename to sci-biology/gbench/gbench-2.10.7.ebuild index abee15a..d205c87 100644 --- a/sci-biology/gbench/gbench-2.3.2.ebuild +++ b/sci-biology/gbench/gbench-2.10.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -10,7 +10,7 @@ inherit python-single-r1 wxwidgets DESCRIPTION="View and analyze genome sequences" HOMEPAGE="http://www.ncbi.nlm.nih.gov/projects/gbench/" -SRC_URI="ftp://ftp.ncbi.nlm.nih.gov/toolbox/gbench/ver-2.3.2/gbench-src-"${PV}".tgz" +SRC_URI="ftp://ftp.ncbi.nlm.nih.gov/toolbox/gbench/ver-"${PV}"/gbench-src-"${PV}".tgz" LICENSE="public-domain" SLOT="0" @@ -34,13 +34,13 @@ RDEPEND="${PYTHON_DEPS} dev-util/cppunit media-libs/freetype media-libs/giflib - media-libs/glew + media-libs/glew:= media-libs/tiff:0= net-libs/gnutls sci-libs/hdf5 sys-fs/fuse sys-libs/db:* - virtual/glut + virtual/glu virtual/opengl x11-libs/fltk x11-libs/wxGTK:* @@ -59,4 +59,16 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND}" -# ensure in src_compile no --mandir=/usr/share/man is passed to configure, use the ebuild logic from ncbi-tools++ +# recycle ebuild logic from ncbi-tools++ + +S="${WORKDIR}"/gbench-src-"${PV}" + +src_configure(){ + # configure: error: --mandir=/usr/share/man: unknown option; use --help to show usage + # configure: error: --infodir=/usr/share/info: unknown option; use --help to show usage + # configure: error: --datadir=/usr/share: unknown option; use --help to show usage + # configure: error: --sysconfdir=/etc: unknown option; use --help to show usage + # configure: error: --localstatedir=/var/lib: unknown option; use --help to show usage + ./configure --prefix="${DESTDIR}"/"${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die +}