# Compiling time: 2.27 SBU # Maintainer: DeX77 # Contributor: crazy # Contributor: Janos Kovacs pkgname=fftw pkgver=3.3.5 pkgrel=1 pkgdesc="C subroutine library for computing the Discrete Fourier Transform (DFT)" url="http://www.fftw.org/" license="GPL-2" depends=('glibc>=2.22-7') archs=('i686' 'x86_64' 'arm') groups=('lib') up2date="Flasttar $url/download.html" source=(http://www.fftw.org/$pkgname-$pkgver.tar.gz) sha1sums=('875831a7ab87d278f21ac0c3453f12d5ee807da4') build() { ## idea from gentoo cd $Fsrcdir || Fdie mv $pkgname-$pkgver $pkgname-$pkgver-single || Fdie cp -pPR $pkgname-$pkgver-single $pkgname-$pkgver-double || Fdie cp -pPR $pkgname-$pkgver-single $pkgname-$pkgver-longdouble || Fdie ## single cd $pkgname-$pkgver-single || Fdie Fbuild --enable-shared --enable-threads --enable-float cd ../$pkgname-$pkgver-double || Fdie Fbuild --enable-shared --enable-threads cd ../$pkgname-$pkgver-longdouble || Fdie Fbuild --enable-shared --enable-threads --enable-long-double Fln fftw3.h /usr/include/fftw.h Fln fftw3.f /usr/include/fftw.f } # optimization OK