# Copyright 1999-2013 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.6 2013/02/20 16:40:35 jlec Exp $ EAPI=4 AUTOTOOLS_AUTORECONF=true inherit autotools-utils eutils toolchain-funcs 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" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="static-libs" RDEPEND="virtual/lapack" DEPEND="${RDEPEND} virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-configure.ac.patch ) src_configure() { local myeconfargs=( --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) autotools-utils_src_configure }