diff options
author | sibel <lesibel at free dot fr> | 2010-06-24 18:14:46 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-06-24 18:14:46 +0200 |
commit | ded98e543c40bad21338dd92ed5e61d6d35a728d (patch) | |
tree | 5e59aa3559af90dab50647cc2a113782fc9d5820 /test/fftw/Pkgfile | |
parent | eba134ad8ae5969a3157f9ac03aecd37e97d21bb (diff) | |
download | nutyx-extra-ded98e543c40bad21338dd92ed5e61d6d35a728d.tar.gz nutyx-extra-ded98e543c40bad21338dd92ed5e61d6d35a728d.tar.bz2 nutyx-extra-ded98e543c40bad21338dd92ed5e61d6d35a728d.tar.xz nutyx-extra-ded98e543c40bad21338dd92ed5e61d6d35a728d.zip |
fftw, déplacé dans test
Diffstat (limited to 'test/fftw/Pkgfile')
-rw-r--r-- | test/fftw/Pkgfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/fftw/Pkgfile b/test/fftw/Pkgfile new file mode 100644 index 000000000..b3012f061 --- /dev/null +++ b/test/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 +} |