summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/fftw/.footprint39
-rw-r--r--extra/fftw/.md5sum1
-rw-r--r--extra/fftw/Pkgfile36
3 files changed, 76 insertions, 0 deletions
diff --git a/extra/fftw/.footprint b/extra/fftw/.footprint
new file mode 100644
index 000000000..fb41c8209
--- /dev/null
+++ b/extra/fftw/.footprint
@@ -0,0 +1,39 @@
+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/dir.gz
+-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/extra/fftw/.md5sum b/extra/fftw/.md5sum
new file mode 100644
index 000000000..798bd7c7f
--- /dev/null
+++ b/extra/fftw/.md5sum
@@ -0,0 +1 @@
+b616e5c91218cc778b5aa735fefb61ae fftw-3.2.2.tar.gz
diff --git a/extra/fftw/Pkgfile b/extra/fftw/Pkgfile
new file mode 100644
index 000000000..057f05b01
--- /dev/null
+++ b/extra/fftw/Pkgfile
@@ -0,0 +1,36 @@
+# Decription: A library for computing the discrete Fourier transform
+# 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
+}
+