diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-06 14:23:19 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-06 14:23:19 +0000 |
commit | c679729b2154e411bee680eb47843d014181e8bf (patch) | |
tree | 0baf7d6e5272110a0685420488b9ee737610e64f /sci-physics | |
parent | sparc stable (diff) | |
download | historical-c679729b2154e411bee680eb47843d014181e8bf.tar.gz historical-c679729b2154e411bee680eb47843d014181e8bf.tar.bz2 historical-c679729b2154e411bee680eb47843d014181e8bf.zip |
Initial import. Ebuild first submitted by Ben Schwartz, see bug #170989
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/harminv/ChangeLog | 11 | ||||
-rw-r--r-- | sci-physics/harminv/Manifest | 15 | ||||
-rw-r--r-- | sci-physics/harminv/files/harminv-1.3.1-configure.ac.patch | 31 | ||||
-rw-r--r-- | sci-physics/harminv/harminv-1.3.1.ebuild | 38 | ||||
-rw-r--r-- | sci-physics/harminv/metadata.xml | 12 |
5 files changed, 107 insertions, 0 deletions
diff --git a/sci-physics/harminv/ChangeLog b/sci-physics/harminv/ChangeLog new file mode 100644 index 000000000000..2ddcbf6b68a0 --- /dev/null +++ b/sci-physics/harminv/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2008/02/06 14:23:18 bicatali Exp $ + +*harminv-1.3.1 (06 Feb 2008) + + 06 Feb 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/harminv-1.3.1-configure.ac.patch, +metadata.xml, + +harminv-1.3.1.ebuild: + Initial import. Ebuild first submitted by Ben Schwartz, see bug #170989 + diff --git a/sci-physics/harminv/Manifest b/sci-physics/harminv/Manifest new file mode 100644 index 000000000000..6fe59631dfc8 --- /dev/null +++ b/sci-physics/harminv/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX harminv-1.3.1-configure.ac.patch 1038 RMD160 5430e58f33e639df9fd7b8babb60ab2c1635346e SHA1 9c30c6d5e4a9b84e97197d174a613ab446b7a066 SHA256 4fadb381e6d5edc95a5b3c365b1b5d36d1e9c925eb408ea56a70f3e6832273e0 +DIST harminv-1.3.1.tar.gz 327832 RMD160 340de65da54b197f70adec43ecd2907a757d6d35 SHA1 ef75161233df92393110b783d2945b5915c8291a SHA256 245778c16390c22850de3fb716c3db19514d40415ee3693293bfe59c66536583 +EBUILD harminv-1.3.1.ebuild 954 RMD160 20d97c1d7b48806d2af4587c375333959df24bd6 SHA1 e4994c762da56d14b53b7483b958cd012ce10e2c SHA256 23901e85c55b68d7709bf0644375df92dcf0728f66cf814caf492d970e8f93d9 +MISC ChangeLog 456 RMD160 d6508087b2805cf8c781dd1872202f460b77763a SHA1 c2a5f2b344fcd147dc8ca75728a8db0b0669e4d3 SHA256 c468f13d5ca35d9ba286099ded3960ba4c62b74bd851fd41ba543ed735c87f89 +MISC metadata.xml 527 RMD160 8f3be8eb904aa8c91d19f0e0e35664a4bdb9adb2 SHA1 f92e77d90a8bbc6854d0911eb9cddb0355fd9185 SHA256 4111d063d0ae32e923de0286d21e7447d5ade9d7a0e7d174ec95325c5ee7ffc0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHqcLe1ycZbhPLE2ARArpgAJ4sBB2sK+JXvFB5NUq2lMkYIkb3tQCdFLDD +erkaVlX6LKZfxoyLSHoubAo= +=MAMs +-----END PGP SIGNATURE----- diff --git a/sci-physics/harminv/files/harminv-1.3.1-configure.ac.patch b/sci-physics/harminv/files/harminv-1.3.1-configure.ac.patch new file mode 100644 index 000000000000..2830d5b586f3 --- /dev/null +++ b/sci-physics/harminv/files/harminv-1.3.1-configure.ac.patch @@ -0,0 +1,31 @@ +--- configure.ac.orig 2007-09-27 09:27:28.731439558 +0100 ++++ configure.ac 2007-09-27 09:37:45.755835491 +0100 +@@ -9,7 +9,7 @@ + # *not* the same as the "public" version number. CURRENT:REVISION:AGE + SHARED_VERSION_INFO="2:4:0" + AC_SUBST(SHARED_VERSION_INFO) +-AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default ++AM_ENABLE_SHARED(yes) dnl shared libs cause too many headaches to be default + + ############################################################################## + +@@ -123,9 +123,16 @@ + ########################################################################### + + # Checks for BLAS/LAPACK libraries: +- +-ACX_BLAS([], [AC_MSG_ERROR([BLAS library not found])]) +-ACX_LAPACK([], [AC_MSG_ERROR([LAPACK library not found])]) ++sinclude(acx_blas.m4) ++ACX_BLAS ++if test x"$BLAS_LIBS" = x ; then ++ AC_MSG_ERROR([BLAS library not found]) ++fi ++sinclude(acx_lapack.m4) ++ACX_LAPACK ++if test x"$LAPACK_LIBS" = x ; then ++ AC_MSG_ERROR([LAPACK library not found]) ++fi + + LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS" + diff --git a/sci-physics/harminv/harminv-1.3.1.ebuild b/sci-physics/harminv/harminv-1.3.1.ebuild new file mode 100644 index 000000000000..9612704ec195 --- /dev/null +++ b/sci-physics/harminv/harminv-1.3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 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.1 2008/02/06 14:23:18 bicatali Exp $ + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +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" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS README || die "dodoc failed" +} diff --git a/sci-physics/harminv/metadata.xml b/sci-physics/harminv/metadata.xml new file mode 100644 index 000000000000..1e2085ba073d --- /dev/null +++ b/sci-physics/harminv/metadata.xml @@ -0,0 +1,12 @@ +<?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"> + 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 + bandwidth, it determines the frequencies, decay constants, amplitudes, + and phases of those sinusoids. +</longdescription> +</pkgmetadata> |