summaryrefslogtreecommitdiffstats
path: root/base/fftw
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-17 23:38:48 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-17 23:38:48 +0100
commite0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf (patch)
treee7898ebf79b83a49792f78ab3748890d5947f256 /base/fftw
parentbd57ce9ca0c9c45686a68c536106498548ca333d (diff)
downloadnutyx-extra-e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf.tar.gz
nutyx-extra-e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf.tar.bz2
nutyx-extra-e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf.tar.xz
nutyx-extra-e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf.zip
fftw, déplacé dans base
Diffstat (limited to 'base/fftw')
-rw-r--r--base/fftw/.footprint38
-rw-r--r--base/fftw/.md5sum1
-rw-r--r--base/fftw/Pkgfile36
-rw-r--r--base/fftw/fftw.install22
4 files changed, 97 insertions, 0 deletions
diff --git a/base/fftw/.footprint b/base/fftw/.footprint
new file mode 100644
index 000000000..4d013659b
--- /dev/null
+++ b/base/fftw/.footprint
@@ -0,0 +1,38 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/fftw-wisdom
+-rwxr-xr-x root/root usr/bin/fftw-wisdom-to-conf
+-rwxr-xr-x root/root usr/bin/fftwf-wisdom
+-rwxr-xr-x root/root usr/bin/fftwl-wisdom
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/fftw3.f
+-rw-r--r-- root/root usr/include/fftw3.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libfftw3.a
+-rwxr-xr-x root/root usr/lib/libfftw3.la
+lrwxrwxrwx root/root usr/lib/libfftw3.so -> libfftw3.so.3.2.4
+lrwxrwxrwx root/root usr/lib/libfftw3.so.3 -> libfftw3.so.3.2.4
+-rwxr-xr-x root/root usr/lib/libfftw3.so.3.2.4
+-rw-r--r-- root/root usr/lib/libfftw3f.a
+-rwxr-xr-x root/root usr/lib/libfftw3f.la
+lrwxrwxrwx root/root usr/lib/libfftw3f.so -> libfftw3f.so.3.2.4
+lrwxrwxrwx root/root usr/lib/libfftw3f.so.3 -> libfftw3f.so.3.2.4
+-rwxr-xr-x root/root usr/lib/libfftw3f.so.3.2.4
+-rw-r--r-- root/root usr/lib/libfftw3l.a
+-rwxr-xr-x root/root usr/lib/libfftw3l.la
+lrwxrwxrwx root/root usr/lib/libfftw3l.so -> libfftw3l.so.3.2.4
+lrwxrwxrwx root/root usr/lib/libfftw3l.so.3 -> libfftw3l.so.3.2.4
+-rwxr-xr-x root/root usr/lib/libfftw3l.so.3.2.4
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/fftw3.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/fftw3f.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/fftw3l.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/fftw3.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/fftw-wisdom-to-conf.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fftw-wisdom.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fftwf-wisdom.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fftwl-wisdom.1.gz
diff --git a/base/fftw/.md5sum b/base/fftw/.md5sum
new file mode 100644
index 000000000..798bd7c7f
--- /dev/null
+++ b/base/fftw/.md5sum
@@ -0,0 +1 @@
+b616e5c91218cc778b5aa735fefb61ae fftw-3.2.2.tar.gz
diff --git a/base/fftw/Pkgfile b/base/fftw/Pkgfile
new file mode 100644
index 000000000..b3012f061
--- /dev/null
+++ b/base/fftw/Pkgfile
@@ -0,0 +1,36 @@
+# Description: A library for computing the discrete Fourier transform (DFT)
+# URL: http://www.fftw.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+name=fftw
+version=3.2.2
+release=1
+source=(http://www.fftw.org/$name-$version.tar.gz)
+
+
+build() {
+ cd $name-$version
+
+ # build & install double precision
+ ./configure F77=gfortran --prefix=/usr \
+ --enable-shared
+ make
+ make DESTDIR=$PKG install
+ make clean
+
+ # build & install long double precission
+ ./configure F77=gfortran --prefix=/usr \
+ --enable-long-double --enable-shared
+ make
+ make DESTDIR=$PKG install
+ make clean
+
+ # build + install single precision
+ ./configure F77=gfortran --prefix=/usr \
+ --enable-float --enable-shared
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/share/info/dir
+}
diff --git a/base/fftw/fftw.install b/base/fftw/fftw.install
new file mode 100644
index 000000000..a3748aae1
--- /dev/null
+++ b/base/fftw/fftw.install
@@ -0,0 +1,22 @@
+info_dir=/usr/share/info
+info_files=(fftw3.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+
+
+