blob: c56fa49b5d2a85733a441397fe8cdb6fc5840ebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: damir <damir@archlinux.org>
pkgname=fftw2
pkgver=2.1.5
pkgrel=4
pkgdesc="FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of both real and complex data, and of arbitrary input size. This is package is offering backwards compatibility version 2.x.y. of fftw."
arch=(i686 x86_64 'mips64el')
url="http://www.fftw.org/"
license=('GPL2')
depends=('glibc')
options=(!libtool)
source=(http://www.fftw.org/fftw-${pkgver}.tar.gz)
md5sums=('8d16a84f3ca02a785ef9eb36249ba433')
build() {
cd ${startdir}/src/fftw-${pkgver}
# build + install double precision
./configure F77=gfortran --prefix=/usr \
--enable-type-prefix --enable-shared \
--enable-threads
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
make clean
# build + install single precision
./configure F77=gfortran --prefix=/usr \
--enable-float --enable-type-prefix --enable-shared \
--enable-threads
make || return 1
#make prefix=$startdir/pkg/usr install || return 1
make DESTDIR=${startdir}/pkg install || return 1
}
|