summaryrefslogtreecommitdiffstats
path: root/abs/core/fftw2
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/fftw2
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/fftw2')
-rw-r--r--abs/core/fftw2/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/fftw2/PKGBUILD b/abs/core/fftw2/PKGBUILD
new file mode 100644
index 0000000..4198e96
--- /dev/null
+++ b/abs/core/fftw2/PKGBUILD
@@ -0,0 +1,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)
+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
+}