summaryrefslogtreecommitdiffstats
path: root/base/fftw/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-03 13:05:53 +0100
committersibel <lesibel@free.fr>2011-03-03 13:05:53 +0100
commit43f5b27bed918aa82a8e8bacdbfc8c5c0fea2cef (patch)
tree0a3c4e7670088bfabf2cebc97a93ebbb46327071 /base/fftw/Pkgfile
parentb91d9faa4078bcc9243fc33e8dc56d2ab3054293 (diff)
downloadnutyx-pakxe-43f5b27bed918aa82a8e8bacdbfc8c5c0fea2cef.tar.gz
nutyx-pakxe-43f5b27bed918aa82a8e8bacdbfc8c5c0fea2cef.tar.bz2
nutyx-pakxe-43f5b27bed918aa82a8e8bacdbfc8c5c0fea2cef.tar.xz
nutyx-pakxe-43f5b27bed918aa82a8e8bacdbfc8c5c0fea2cef.zip
fftw déplacé dans base
Diffstat (limited to 'base/fftw/Pkgfile')
-rw-r--r--base/fftw/Pkgfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/base/fftw/Pkgfile b/base/fftw/Pkgfile
new file mode 100644
index 000000000..047caddcb
--- /dev/null
+++ b/base/fftw/Pkgfile
@@ -0,0 +1,38 @@
+# Description: 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:
+# Run 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
+}
+
+