diff options
author | sibel <lesibel at free dot fr> | 2010-07-03 07:00:23 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-07-03 07:00:23 +0200 |
commit | 379c3ce4a1d1c0973d4fbc7e0cb79745bbdf928a (patch) | |
tree | 12480abb032d4e5c46d441ebbcee5aaaf9a51f3c /extra/fftw/Pkgfile | |
parent | 9dabf7b6248317e2b1d1df69d772cc5b1db6a5d9 (diff) | |
download | nutyx-extra-379c3ce4a1d1c0973d4fbc7e0cb79745bbdf928a.tar.gz nutyx-extra-379c3ce4a1d1c0973d4fbc7e0cb79745bbdf928a.tar.bz2 nutyx-extra-379c3ce4a1d1c0973d4fbc7e0cb79745bbdf928a.tar.xz nutyx-extra-379c3ce4a1d1c0973d4fbc7e0cb79745bbdf928a.zip |
Ajout de fftw#3.2.2-1
Diffstat (limited to 'extra/fftw/Pkgfile')
-rw-r--r-- | extra/fftw/Pkgfile | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} + |