diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-21 21:02:53 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-21 21:02:53 -0600 |
commit | 076b0e6a2f5c5aa8a576896fb1be98be05723179 (patch) | |
tree | 016aa9ce6b4bf183ee1a6007e076d05f4e10e990 /main/fftw | |
parent | aa72ab9f05dcc8b21f8c7dbbe02b483e37babd36 (diff) | |
download | aports-076b0e6a2f5c5aa8a576896fb1be98be05723179.tar.bz2 aports-076b0e6a2f5c5aa8a576896fb1be98be05723179.tar.xz |
main/fftw: promote from testing
Diffstat (limited to 'main/fftw')
-rw-r--r-- | main/fftw/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD new file mode 100644 index 0000000000..7a0c03d290 --- /dev/null +++ b/main/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" |