contrib/fftw/Pkgfile

52 lines
910 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
2008-11-18 08:22:05 +01:00
version=3.2
release=1
source=(http://www.fftw.org/$name-$version.tar.gz)
build() {
2008-11-18 08:22:05 +01:00
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
}