summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorasau <asau>2012-10-15 18:57:28 +0000
committerasau <asau>2012-10-15 18:57:28 +0000
commit842be5b1e9d458e75b805d8a7011b34388ec58e8 (patch)
treecfe376732d912df94a5f5c10e69d01420a44f687 /math
parent1d1873df5d23a06d9736f98341777e7688d96a3a (diff)
downloadpkgsrc-842be5b1e9d458e75b805d8a7011b34388ec58e8.tar.gz
Import Harminv 1.3.1 as math/harminv.
Packaged for pkgsrc-WIP by Kamel Derouiche. Harminv is a free program (and accompanying library) 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.
Diffstat (limited to 'math')
-rw-r--r--math/harminv/DESCR6
-rw-r--r--math/harminv/Makefile24
-rw-r--r--math/harminv/PLIST6
-rw-r--r--math/harminv/buildlink3.mk13
-rw-r--r--math/harminv/distinfo5
5 files changed, 54 insertions, 0 deletions
diff --git a/math/harminv/DESCR b/math/harminv/DESCR
new file mode 100644
index 00000000000..f8f0bbf0683
--- /dev/null
+++ b/math/harminv/DESCR
@@ -0,0 +1,6 @@
+Harminv is a free program (and accompanying library) 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.
diff --git a/math/harminv/Makefile b/math/harminv/Makefile
new file mode 100644
index 00000000000..df83307886c
--- /dev/null
+++ b/math/harminv/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2012/10/15 18:57:28 asau Exp $
+
+DISTNAME= harminv-1.3.1
+CATEGORIES= math
+MASTER_SITES= http://ab-initio.mit.edu/harminv/
+
+MAINTAINER= pkgsrc-users@netbsd.org
+HOMEPAGE= http://ab-initio.mit.edu/wiki/index.php/Harminv
+COMMENT= Solver of harmonic inversion
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++ fortran77
+
+PKGCONFIG_OVERRIDE+= harminv.pc.in
+
+TEST_TARGET= check
+
+.include "../../math/blas/buildlink3.mk"
+.include "../../math/lapack/buildlink3.mk"
+.include "../../math/mpcomplex/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/harminv/PLIST b/math/harminv/PLIST
new file mode 100644
index 00000000000..7753278993b
--- /dev/null
+++ b/math/harminv/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2012/10/15 18:57:29 asau Exp $
+bin/harminv
+include/harminv.h
+lib/libharminv.la
+lib/pkgconfig/harminv.pc
+man/man1/harminv.1
diff --git a/math/harminv/buildlink3.mk b/math/harminv/buildlink3.mk
new file mode 100644
index 00000000000..8c160963034
--- /dev/null
+++ b/math/harminv/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2012/10/15 18:57:29 asau Exp $
+
+BUILDLINK_TREE+= harminv
+
+.if !defined(HARMINV_BUILDLINK3_MK)
+HARMINV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.harminv+= harminv>=1.3.1
+BUILDLINK_PKGSRCDIR.harminv?= ../../math/harminv
+
+.endif # HARMINV_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -harminv
diff --git a/math/harminv/distinfo b/math/harminv/distinfo
new file mode 100644
index 00000000000..d2c565af86e
--- /dev/null
+++ b/math/harminv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/10/15 18:57:29 asau Exp $
+
+SHA1 (harminv-1.3.1.tar.gz) = ef75161233df92393110b783d2945b5915c8291a
+RMD160 (harminv-1.3.1.tar.gz) = 340de65da54b197f70adec43ecd2907a757d6d35
+Size (harminv-1.3.1.tar.gz) = 327832 bytes