aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-22 11:14:27 +0100
committerJustin Lecher <jlec@gentoo.org>2013-02-22 11:14:27 +0100
commitc232e0bdae9e7d17e3697d927f2af1b9f1721ff2 (patch)
treea5951413d338a0744bcc43201b888715600f82ee /sci-astronomy/zebra
parentsci-chemistry/ambertools: Use tc-getPKG_CONFIG from toolchain-funcs.eclass in... (diff)
downloadsci-c232e0bdae9e7d17e3697d927f2af1b9f1721ff2.tar.gz
sci-c232e0bdae9e7d17e3697d927f2af1b9f1721ff2.tar.bz2
sci-c232e0bdae9e7d17e3697d927f2af1b9f1721ff2.zip
sci-astronomy/zebra: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config
Package-Manager: portage-2.2.0_alpha163
Diffstat (limited to 'sci-astronomy/zebra')
-rw-r--r--sci-astronomy/zebra/ChangeLog5
-rw-r--r--sci-astronomy/zebra/metadata.xml4
-rw-r--r--sci-astronomy/zebra/zebra-1.01.ebuild16
3 files changed, 14 insertions, 11 deletions
diff --git a/sci-astronomy/zebra/ChangeLog b/sci-astronomy/zebra/ChangeLog
index 72dc7db77..d4e0f1ae8 100644
--- a/sci-astronomy/zebra/ChangeLog
+++ b/sci-astronomy/zebra/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-astronomy/zebra
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Feb 2013; Justin Lecher <jlec@gentoo.org> zebra-1.01.ebuild, metadata.xml:
+ Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config
+
*zebra-1.01 (17 May 2012)
17 May 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +metadata.xml,
diff --git a/sci-astronomy/zebra/metadata.xml b/sci-astronomy/zebra/metadata.xml
index b8ef7bb1f..1edf84d77 100644
--- a/sci-astronomy/zebra/metadata.xml
+++ b/sci-astronomy/zebra/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
The Zurich Extragalactic Bayesian Redshift Analyzer is a software to
compute and analyze photometric redshifts of galaxies.
ZEBRA combines and extends several of the classical approaches to
diff --git a/sci-astronomy/zebra/zebra-1.01.ebuild b/sci-astronomy/zebra/zebra-1.01.ebuild
index 7463821b1..d4f2e76f4 100644
--- a/sci-astronomy/zebra/zebra-1.01.ebuild
+++ b/sci-astronomy/zebra/zebra-1.01.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
-inherit autotools-utils
+inherit autotools-utils toolchain-funcs
DESCRIPTION="Galaxy redhift Bayesian analyzer"
HOMEPAGE="http://www.astro.phys.ethz.ch/exgal_ocosm/zebra/index.html"
@@ -15,20 +15,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
-RDEPEND="sci-libs/gsl
+RDEPEND="
+ sci-libs/gsl
sci-libs/lapackpp
virtual/blas
virtual/cblas
virtual/lapack"
-
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
myeconfargs+=(
- --with-blas="$(pkg-config --libs blas)"
- --with-cblas="$(pkg-config --libs cblas)"
- --with-lapack="$(pkg-config --libs lapack)"
+ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
+ --with-cblas="$($(tc-getPKG_CONFIG) --libs cblas)"
+ --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
)
autotools-utils_src_configure
}