summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-03-07 09:19:05 +0000
committerJustin Lecher <jlec@gentoo.org>2010-03-07 09:19:05 +0000
commitc14714ee02b67a481e69ebf14749154f8c00cd5c (patch)
treeb11aa711c3a59140969d78b4e6753ffaf1a91e50 /sci-biology/ncbi-tools++
parentKeyworded for prefix-linux, tested by me (diff)
downloadgentoo-2-c14714ee02b67a481e69ebf14749154f8c00cd5c.tar.gz
gentoo-2-c14714ee02b67a481e69ebf14749154f8c00cd5c.tar.bz2
gentoo-2-c14714ee02b67a481e69ebf14749154f8c00cd5c.zip
Moved to EAPI=3 for PREFIX support, keyworded for *-linux, tested by me
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/ncbi-tools++')
-rw-r--r--sci-biology/ncbi-tools++/ChangeLog6
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild22
2 files changed, 16 insertions, 12 deletions
diff --git a/sci-biology/ncbi-tools++/ChangeLog b/sci-biology/ncbi-tools++/ChangeLog
index 493d4040a980..6cd573fff28d 100644
--- a/sci-biology/ncbi-tools++/ChangeLog
+++ b/sci-biology/ncbi-tools++/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/ncbi-tools++
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.10 2010/02/26 16:07:02 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.11 2010/03/07 09:19:05 jlec Exp $
+
+ 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ ncbi-tools++-2009.05.15-r2.ebuild:
+ Moved to EAPI=3 for PREFIX support, keyworded for *-linux, tested by me
*ncbi-tools++-2009.05.15-r2 (26 Feb 2010)
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
index b8ae87fe88f4..61c7a3b5ede1 100644
--- a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15-r2.ebuild,v 1.2 2010/03/07 09:19:05 jlec Exp $
-EAPI="2"
+EAPI="3"
inherit eutils multilib
@@ -18,7 +18,7 @@ LICENSE="public-domain"
SLOT="0"
#IUSE="X unicode opengl gnutls test"
IUSE="sqlite"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
# wxGTK: must run eselect wxwindows after installing wxgtk or build will fail. Check and abort here.
# dev-libs/xalan-c - problems detecting, api mismatch?
@@ -60,12 +60,12 @@ src_configure() {
--without-static \
--with-dll \
--without-ftds \
- --prefix="${D}"/usr \
- --libdir="${D}"/usr/$(get_libdir)/${PN} \
- --with-z="/usr" \
- --with-bz2="/usr" \
- --with-pcre="/usr" \
- --with-openssl="/usr" \
+ --prefix="${ED}"/usr \
+ --libdir="${ED}"/usr/$(get_libdir)/${PN} \
+ --with-z="${EPREFIX}/usr" \
+ --with-bz2="${EPREFIX}/usr" \
+ --with-pcre="${EPREFIX}/usr" \
+ --with-openssl="${EPREFIX}/usr" \
|| die
# --with-mt \ # fails with gcc-4.4 but not 4.3
@@ -89,9 +89,9 @@ src_compile() {
src_install() {
emake install || die
# File collisions with sci-biology/ncbi-tools
- rm -f "${D}"/usr/bin/{asn2asn,rpsblast,test_regexp}
+ rm -f "${ED}"/usr/bin/{asn2asn,rpsblast,test_regexp}
- echo "LD_LIBRARY_PATH=/usr/lib/${PN}" > ${S}/99${PN}
+ echo "LD_LIBRARY_PATH=${EPREFIX}/usr/$(get_libdir)/${PN}" > ${S}/99${PN}
doenvd "${S}/99${PN}"
}