aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <kleiner_otti@gmx.de>2010-09-12 20:53:31 +0200
committerChristoph Junghans <kleiner_otti@gmx.de>2010-09-12 20:53:31 +0200
commitbe684f7ca5d17ed7b28e28dfba0fbdfd279e2f66 (patch)
treef7d5fd42179ad39b2ba2b23da8d744b99cfb500d /sci-libs
parent[sci-libs/pfft]: initial commit (diff)
downloadsci-be684f7ca5d17ed7b28e28dfba0fbdfd279e2f66.tar.gz
sci-be684f7ca5d17ed7b28e28dfba0fbdfd279e2f66.tar.bz2
sci-be684f7ca5d17ed7b28e28dfba0fbdfd279e2f66.zip
[sci-libs/nfft] initial commit
(Portage version: 2.1.8.3/git/Linux i686) (Signed Manifest commit)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/nfft/ChangeLog11
-rw-r--r--sci-libs/nfft/Manifest16
-rw-r--r--sci-libs/nfft/files/nfft-3.1.3-install.patch14
-rw-r--r--sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch69
-rw-r--r--sci-libs/nfft/metadata.xml9
-rw-r--r--sci-libs/nfft/nfft-3.1.3.ebuild41
6 files changed, 160 insertions, 0 deletions
diff --git a/sci-libs/nfft/ChangeLog b/sci-libs/nfft/ChangeLog
new file mode 100644
index 000000000..6d1482ea6
--- /dev/null
+++ b/sci-libs/nfft/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/nfft
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*nfft-3.1.3 (12 Sep 2010)
+
+ 12 Sep 2010; Christoph Junghans <kleiner_otti@gmx.de> +nfft-3.1.3.ebuild,
+ +files/nfft-3.1.3-install.patch,
+ +files/nfft-3.1.3-remove-maintainer-mode.patch, +metadata.xml:
+ Initial commit
+
diff --git a/sci-libs/nfft/Manifest b/sci-libs/nfft/Manifest
new file mode 100644
index 000000000..bb28e126f
--- /dev/null
+++ b/sci-libs/nfft/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX nfft-3.1.3-install.patch 455 RMD160 5acbfcddfe923036e5e47c2317a017b30a31a838 SHA1 6e19ec569811996efe2f1955bbb090b0efe20a75 SHA256 6e5e0d9c5c839e228109fc1386e146bb8ba6a549701eaaf527b5aa60a2b369fa
+AUX nfft-3.1.3-remove-maintainer-mode.patch 2810 RMD160 70925c0a1583b651383369edc2ae4934e282005c SHA1 26a1febeca6a2e729e2796068b7964c3b49e55c2 SHA256 acecf6ed6fda98fd7d104908036a1f4f166721f68469f54e9267c9ea349f7b6f
+DIST nfft-3.1.3.tar.gz 1659745 RMD160 fd43df4bf42e464caccdf10eeb5b9c55e9c7920e SHA1 45ce0e0ae3eeb49ccb2f3ba37b8ad427f08cf9ac SHA256 e4f65f0d1aa81cf76a506f10a9ac68bdcd770a4426671274d372101dca497382
+EBUILD nfft-3.1.3.ebuild 941 RMD160 1fff109b30c70561218f5adf02049455e8f3290b SHA1 4c2deadc3c0dc0e10eff5b610a3d183307ceeef7 SHA256 21d38aa8e255dc686f15e006720a17e971d9a56a0b302efbf300a274e11c713c
+MISC ChangeLog 335 RMD160 6808f9942e76ad6aa56ea371e9f83c07e48efeec SHA1 b409a433b292634ceb5bf370a3df56bfb389d8d8 SHA256 8a56adce98da9d02bb579988a4c54ad08707a130009cc5128d4ddf5de499d13b
+MISC metadata.xml 256 RMD160 53a5d04f6246118e052c9cae27b7070de9b88529 SHA1 563e3277f01cc3bf484d46a6da50719855a5a689 SHA256 e683c0d7d2051297085cdbb7444ce887044c7ed0ba02cf04be170cdf62919c74
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkyNIaoACgkQy0OE/ans1/l8HQCdGwMClhqdXoVpBEid/WvjEzJ2
+iaMAn0RIgpVD5dSLeaCTqG6O76v/KoNX
+=aYE3
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/nfft/files/nfft-3.1.3-install.patch b/sci-libs/nfft/files/nfft-3.1.3-install.patch
new file mode 100644
index 000000000..7da362890
--- /dev/null
+++ b/sci-libs/nfft/files/nfft-3.1.3-install.patch
@@ -0,0 +1,14 @@
+diff -Naur nfft-3.1.3.orig/Makefile.am nfft-3.1.3/Makefile.am
+--- nfft-3.1.3.orig/Makefile.am 2009-12-23 11:57:40.000000000 +0100
++++ nfft-3.1.3/Makefile.am 2010-09-12 20:46:27.000000000 +0200
+@@ -31,8 +27,8 @@
+ EXTRA_DIST = bootstrap.sh VERSION doxygen.c
+
+ install-data-hook:
+- mkdir -p $(pkgdatadir)
+- cp -R doc $(pkgdatadir)
++ mkdir -p $(DESTDIR)$(pkgdatadir)
++ cp -R doc $(DESTDIR)$(pkgdatadir)
+
+ maintainer-clean-local:
+ rm -f doc/api/html/*.html
diff --git a/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch b/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch
new file mode 100644
index 000000000..c1e89eb60
--- /dev/null
+++ b/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch
@@ -0,0 +1,69 @@
+diff -Naur nfft-3.1.3.orig/Makefile.am nfft-3.1.3/Makefile.am
+--- nfft-3.1.3.orig/Makefile.am 2009-12-23 11:57:40.000000000 +0100
++++ nfft-3.1.3/Makefile.am 2010-09-12 20:27:01.000000000 +0200
+@@ -8,11 +8,7 @@
+ # Subdirectories
+ DIST_SUBDIRS= 3rdparty include util kernel . examples applications matlab
+
+-if MAINTAINER_MODE
+- EXTRA_DIRS= tests
+-else
+- EXTRA_DIRS=
+-endif
++EXTRA_DIRS=
+
+ if HAVE_MATLAB
+ MATLAB_DIRS= matlab
+diff -Naur nfft-3.1.3.orig/applications/Makefile.am nfft-3.1.3/applications/Makefile.am
+--- nfft-3.1.3.orig/applications/Makefile.am 2009-10-13 07:54:19.000000000 +0200
++++ nfft-3.1.3/applications/Makefile.am 2010-09-12 20:27:37.000000000 +0200
+@@ -17,12 +17,7 @@
+ DIST_SUBDIRS = fastgauss fastsum $(DIR_FASTSUMS2) $(DIR_MRI) polarFFT \
+ $(DIR_QUADRATURES2) radon
+
+-if MAINTAINER_MODE
+- EXTRA_DIRS= $(DIR_ITERS2)
+-# EXTRA_DIRS= texture iterS2
+-else
+- EXTRA_DIRS=
+-endif
++EXTRA_DIRS=
+
+ SUBDIRS= $(DIST_SUBDIRS) $(EXTRA_DIRS)
+
+diff -Naur nfft-3.1.3.orig/configure.ac nfft-3.1.3/configure.ac
+--- nfft-3.1.3.orig/configure.ac 2009-12-15 16:39:45.000000000 +0100
++++ nfft-3.1.3/configure.ac 2010-09-12 20:32:27.000000000 +0200
+@@ -439,32 +439,3 @@
+ matlab/nfsft/@f_hat/Makefile
+ )
+
+-if test "x$USE_MAINTAINER_MODE" = "xyes"; then
+-AC_OUTPUT(tests/Makefile \
+- VERSION
+- doxygen/doxygen.Doxyfile
+- tests/kernel/Makefile \
+- tests/kernel/fpt/Makefile \
+- tests/lowlevel/Makefile \
+- tests/lowlevel/nfsft/Makefile \
+- applications/iterS2/Makefile \
+- applications/texture/Makefile \
+- applications/texture/examplesTexture/Makefile \
+- applications/texture/examplesTexture/correctness/Makefile \
+- applications/texture/examplesTexture/data/Makefile \
+- applications/texture/examplesTexture/data/data_publication/Makefile \
+- applications/texture/examplesTexture/data/util/Makefile \
+- applications/texture/examplesTexture/data_creator/Makefile \
+- applications/texture/examplesTexture/interpolation/Makefile \
+- applications/texture/examplesTexture/matrix/Makefile \
+- applications/texture/examplesTexture/paper1/Makefile \
+- applications/texture/examplesTexture/paper1/data/Makefile \
+- applications/texture/examplesTexture/paper1/reconstruction/Makefile \
+- applications/texture/examplesTexture/paper1/texture/Makefile \
+- applications/texture/examplesTexture/performance/Makefile \
+- applications/texture/examplesTexture/regularity/Makefile \
+- applications/texture/examplesTexture/regularity2/Makefile \
+- applications/texture/examplesTexture/regularity3/Makefile \
+- applications/texture/examplesTexture/texture_util/Makefile
+-)
+-fi
diff --git a/sci-libs/nfft/metadata.xml b/sci-libs/nfft/metadata.xml
new file mode 100644
index 000000000..69b66cbec
--- /dev/null
+++ b/sci-libs/nfft/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+ <maintainer>
+ <email>kleiner_otti@gmx.de</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-libs/nfft/nfft-3.1.3.ebuild b/sci-libs/nfft/nfft-3.1.3.ebuild
new file mode 100644
index 000000000..18714bec0
--- /dev/null
+++ b/sci-libs/nfft/nfft-3.1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit eutils autotools
+
+DESCRIPTION="library for nonequispaced discrete Fourier transform"
+HOMEPAGE="http://www-user.tu-chemnitz.de/~potts/nfft"
+SRC_URI="http://www-user.tu-chemnitz.de/~potts/nfft/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="static-libs"
+
+RDEPEND="sci-libs/fftw:3.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ #file for maintainer mode are not in the tarball
+ epatch "${FILESDIR}"/"${P}"-remove-maintainer-mode.patch
+ epatch "${FILESDIR}"/"${P}"-install.patch
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_configure() {
+ local myconf
+ myconf="--enable-shared $(use_enable static-libs static)"
+
+ econf ${myconf} || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+}