diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-04-25 16:56:30 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-04-25 16:56:30 +0000 |
commit | 0542baf10a7be5aa51ae57dba88e0242d013654f (patch) | |
tree | b616e8486e1a682b950ed1e1f45e9630ae19467e /sci-physics | |
parent | Stable on ppc. Required by simple -NDu @world on desktop/kde profile. (diff) | |
download | gentoo-2-0542baf10a7be5aa51ae57dba88e0242d013654f.tar.gz gentoo-2-0542baf10a7be5aa51ae57dba88e0242d013654f.tar.bz2 gentoo-2-0542baf10a7be5aa51ae57dba88e0242d013654f.zip |
sci-physics/harminv: Move to EPAI=4 and autotools-utils
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/harminv/ChangeLog | 8 | ||||
-rw-r--r-- | sci-physics/harminv/harminv-1.3.1.ebuild | 36 | ||||
-rw-r--r-- | sci-physics/harminv/metadata.xml | 4 |
3 files changed, 23 insertions, 25 deletions
diff --git a/sci-physics/harminv/ChangeLog b/sci-physics/harminv/ChangeLog index 67deaf9f2d79..4418f2541d86 100644 --- a/sci-physics/harminv/ChangeLog +++ b/sci-physics/harminv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-physics/harminv -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/harminv/ChangeLog,v 1.2 2008/11/08 19:04:12 maekke Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/harminv/ChangeLog,v 1.3 2012/04/25 16:56:30 jlec Exp $ + + 25 Apr 2012; Justin Lecher <jlec@gentoo.org> harminv-1.3.1.ebuild, + metadata.xml: + Move to EPAI=4 and autotools-utils 08 Nov 2008; Markus Meier <maekke@gentoo.org> harminv-1.3.1.ebuild: amd64/x86 stable, bug #245936 diff --git a/sci-physics/harminv/harminv-1.3.1.ebuild b/sci-physics/harminv/harminv-1.3.1.ebuild index 115a6e6a6ece..83f1888bd115 100644 --- a/sci-physics/harminv/harminv-1.3.1.ebuild +++ b/sci-physics/harminv/harminv-1.3.1.ebuild @@ -1,8 +1,12 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/harminv/harminv-1.3.1.ebuild,v 1.2 2008/11/08 19:04:12 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/harminv/harminv-1.3.1.ebuild,v 1.3 2012/04/25 16:56:30 jlec Exp $ -inherit eutils autotools +EAPI=4 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils eutils DESCRIPTION="Extraction of complex frequencies and amplitudes from time series" HOMEPAGE="http://ab-initio.mit.edu/harminv/" @@ -11,28 +15,18 @@ SRC_URI="http://ab-initio.mit.edu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" +IUSE="static-libs" RDEPEND="virtual/lapack" DEPEND="${RDEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-configure.ac.patch - eautoreconf -} - -src_compile() { - econf \ - --with-blas="$(pkg-config --libs blas)" \ - --with-lapack="$(pkg-config --libs lapack)" \ - || die "econf failed" - emake || die "emake failed" -} +PATCHES=( "${FILESDIR}"/${P}-configure.ac.patch ) -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS NEWS README || die "dodoc failed" +src_configure() { + local myeconfargs=( + --with-blas="$(pkg-config --libs blas)" + --with-lapack="$(pkg-config --libs lapack)" + ) + autotools-utils_src_configure } diff --git a/sci-physics/harminv/metadata.xml b/sci-physics/harminv/metadata.xml index 1e2085ba073d..347723b23d0d 100644 --- a/sci-physics/harminv/metadata.xml +++ b/sci-physics/harminv/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-physics</herd> -<longdescription lang="en"> + <herd>sci-physics</herd> + <longdescription lang="en"> Harminv is a program to solve the problem of harmonic inversion, given a discrete-time, finite-length signal that consists of a sum of finitely-many sinusoids (possibly exponentially decaying) in a given |