diff options
Diffstat (limited to 'sci-physics/harminv/harminv-1.3.1.ebuild')
-rw-r--r-- | sci-physics/harminv/harminv-1.3.1.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sci-physics/harminv/harminv-1.3.1.ebuild b/sci-physics/harminv/harminv-1.3.1.ebuild index f5af12738..1e0e939f6 100644 --- a/sci-physics/harminv/harminv-1.3.1.ebuild +++ b/sci-physics/harminv/harminv-1.3.1.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +inherit eutils autotools + DESCRIPTION="Extraction of complex frequencies and amplitudes from time series" HOMEPAGE="http://ab-initio.mit.edu/harminv/" SRC_URI="http://ab-initio.mit.edu/${PN}/${P}.tar.gz" @@ -13,14 +15,19 @@ IUSE="" DEPEND="virtual/lapack" -src_compile() { - econf \ - --enable-shared \ - || die "econf failed" - emake || die "emake failed" +src_unpack() { + unpack ${A} + cd "${S}" + # --enable-shared gave text realloc on amd64 + # autoreconf with latest which seems ok. + sed -i \ + -e 's/SHARED(no)/SHARED(yes)/' \ + configure.ac || die "sed failed" + # eautoreconf does not like it. + autoreconf -fi || die "autoreconf failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS COPYRIGHT NEWS README TODO + dodoc AUTHORS COPYRIGHT NEWS README } |