diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 15:30:10 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 15:30:10 +0200 |
commit | d2d381b1f3b3ce90b48d04a06ffe32996435e3ab (patch) | |
tree | 2b19929e020be3f858ae77d1159d8a1b2fe71ce2 /extra/fftw/Pkgfile | |
parent | 6e33e543fb83a91ab93878d0b4d4d5ab4c39982f (diff) | |
download | nutyx-pakxe-d2d381b1f3b3ce90b48d04a06ffe32996435e3ab.tar.gz nutyx-pakxe-d2d381b1f3b3ce90b48d04a06ffe32996435e3ab.tar.bz2 nutyx-pakxe-d2d381b1f3b3ce90b48d04a06ffe32996435e3ab.tar.xz nutyx-pakxe-d2d381b1f3b3ce90b48d04a06ffe32996435e3ab.zip |
fftw dans extra
Diffstat (limited to 'extra/fftw/Pkgfile')
-rw-r--r-- | extra/fftw/Pkgfile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/fftw/Pkgfile b/extra/fftw/Pkgfile new file mode 100644 index 000000000..047caddcb --- /dev/null +++ b/extra/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 +} + + |