# Description: C subroutine library for computing discrete Fourier transform. # URL: http://www.fftw.org/ # Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Packager: acrux, acrux at linuxmail dot org # Depends on: # Optional: gcc-fortran name=fftw version=3.2 release=1 source=(http://www.fftw.org/$name-$version.tar.gz) build() { cd $name-$version local config=' --prefix=/usr --mandir=/usr/man --enable-threads --enable-type-prefix --with-gnu-ld --disable-nls --enable-shared' # compiling long double precision library ./configure \ $config \ --enable-long-double make make DESTDIR=$PKG install make clean # compiling single precision library ./configure \ $config \ --enable-single make make DESTDIR=$PKG install make clean # compiling double precision library ./configure \ $config make make DESTDIR=$PKG install rm -r $PKG/usr/share }