aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-07 03:54:03 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-11 05:20:42 -0600
commitb972f181a59e020af4ea3d539cb8a4535ebecbd8 (patch)
tree05ebf27838e7e70374f20dcad5cb0e1537841ef0 /testing
parent4cf92f15e0ac262194864377545be78eaeef1b74 (diff)
downloadaports-b972f181a59e020af4ea3d539cb8a4535ebecbd8.tar.bz2
aports-b972f181a59e020af4ea3d539cb8a4535ebecbd8.tar.xz
testing/fftw: new aport.
Diffstat (limited to 'testing')
-rw-r--r--testing/fftw/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/fftw/APKBUILD b/testing/fftw/APKBUILD
new file mode 100644
index 0000000000..7a0c03d290
--- /dev/null
+++ b/testing/fftw/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=fftw
+pkgver=3.2.2
+pkgrel=0
+pkgdesc="fastest fourier transform in the west"
+url="http://www.fftw.org/"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.fftw.org/$pkgname-$pkgver.tar.gz"
+arch="all"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-single
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="b616e5c91218cc778b5aa735fefb61ae fftw-3.2.2.tar.gz"