blob: 9ae91e22478ce2c8b7bdaf28a0696bb4cb109ab5 (
plain)
1 # Description: C subroutine library for computing discrete Fourier transform.
2 # URL: http://www.fftw.org/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: acrux, acrux at linuxmail dot org
5 # Depends on:
6 # Optional: gcc-fortran
7
8 name=fftw
9 version=3.2.2
10 release=1
11 source=(http://www.fftw.org/$name-$version.tar.gz)
12
13 build() {
14 cd $name-$version
15
16 local config="\
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --enable-threads \
20 --with-gnu-ld \
21 --enable-shared"
22
23 # compiling long double precision library
24 ./configure \
25 $config \
26 --enable-long-double
27
28 make
29 make DESTDIR=$PKG install
30 make clean
31
32 # compiling single precision library
33 ./configure \
34 $config \
35 --enable-single
36
37 make
38 make DESTDIR=$PKG install
39 make clean
40
41 # compiling double precision library
42 ./configure \
43 $config
44
45 make
46 make DESTDIR=$PKG install
47 rm -r $PKG/usr/share
48 }
|