contrib/fftw/Pkgfile

49 lines
869 B
Plaintext
Raw Normal View History

# Description: C subroutine library for computing discrete Fourier transform.
# URL: http://www.fftw.org/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: acrux, acrux at linuxmail dot org
# Depends on:
# Optional: gcc-fortran
name=fftw
2011-07-28 12:53:03 +02:00
version=3.3
2008-11-18 08:22:05 +01:00
release=1
source=(http://www.fftw.org/$name-$version.tar.gz)
build() {
2008-11-18 08:22:05 +01:00
cd $name-$version
2009-02-15 06:22:47 +01:00
local config="\
--prefix=/usr \
--mandir=/usr/man \
--enable-threads \
--with-gnu-ld \
--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
}