diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-17 23:38:48 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-17 23:38:48 +0100 |
commit | e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf (patch) | |
tree | e7898ebf79b83a49792f78ab3748890d5947f256 /base/fftw/Pkgfile | |
parent | bd57ce9ca0c9c45686a68c536106498548ca333d (diff) | |
download | nutyx-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/Pkgfile')
-rw-r--r-- | base/fftw/Pkgfile | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} |