diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-06-18 16:43:52 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-06-19 13:11:05 +0000 |
commit | b8cea504a0c1ccdb40ea1f9b006ea90c5a992f39 (patch) | |
tree | 54b5746d6c43fd7771ef4028d60c8233150d4828 /main | |
parent | 32b24960b31dc90009ed0d0412141eee96ac7897 (diff) | |
download | aports-b8cea504a0c1ccdb40ea1f9b006ea90c5a992f39.tar.bz2 aports-b8cea504a0c1ccdb40ea1f9b006ea90c5a992f39.tar.xz |
main/fftw: upgrade to 3.3.6p2
Diffstat (limited to 'main')
-rw-r--r-- | main/fftw/APKBUILD | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD index ee0b67925a..ca0f27c4cf 100644 --- a/main/fftw/APKBUILD +++ b/main/fftw/APKBUILD @@ -1,14 +1,12 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=fftw -pkgver=3.3.6p1 +pkgver=3.3.6p2 pkgrel=0 pkgdesc="fastest fourier transform in the west" url="http://www.fftw.org/" license="GPL" -depends= makedepends="texinfo" -install= # order of the libs split functions are important because of lib naming subpackages="$pkgname-dev $pkgname-doc $pkgname-single-libs:single $pkgname-long-double-libs:long_double $pkgname-double-libs:double" @@ -22,7 +20,7 @@ builddir="$srcdir/$pkgname-$srcpkgver" prepare() { cd "$builddir" - default_prepare || return 1 + default_prepare for i in $_precision; do cp -r "$builddir" $srcdir/$i done @@ -54,40 +52,35 @@ build() { --infodir=/usr/share/info \ --enable-shared \ --enable-threads \ - $_cf \ - || return 1 - make || return 1 + $_cf + make done } package() { for i in $_precision; do cd "$srcdir"/$i - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install done } single() { - mkdir -p "$subpkgdir"/usr/lib || return 1 + mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libfftw3f*.so* \ - "$subpkgdir"/usr/lib/ || return 1 + "$subpkgdir"/usr/lib/ } double() { - mkdir -p "$subpkgdir"/usr/lib || return 1 + mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libfftw3*.so* \ - "$subpkgdir"/usr/lib/ || return 1 + "$subpkgdir"/usr/lib/ } long_double() { - mkdir -p "$subpkgdir"/usr/lib || return 1 + mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libfftw3l*.so* \ - "$subpkgdir"/usr/lib/ || return 1 + "$subpkgdir"/usr/lib/ } -md5sums="682a0e78d6966ca37c7446d4ab4cc2a1 fftw-3.3.6-pl1.tar.gz -81537a7e16451d3e66c025cbaba58973 cycle.h.patch" -sha256sums="1ef4aa8427d9785839bc767f3eb6a84fcb5e9a37c31ed77a04e7e047519a183d fftw-3.3.6-pl1.tar.gz -1f2e555ceda21146bf7fce408f1a9a12782c646df6d23f3e2202ec7342c4ad01 cycle.h.patch" -sha512sums="e2ed33fcb068a36a841bbd898d12ceec74f4e9a0a349e7c55959878b50224a69a0f87656347dad7d7e1448ebc50d28d8f34f6da7992c43072d26942fd97c0134 fftw-3.3.6-pl1.tar.gz +sha512sums="e130309856752a1555b6d151c4d0ce9eb4b2c208fff7e3e89282ca8ef6104718f865cbb5e9c4af4367b3615b69b0d50fd001a26d74fd5324ff2faabe14fe3472 fftw-3.3.6-pl2.tar.gz d71ffb0aa658f7b22239491698426f4a97e657abc953020745f7581d2937a062a279eaa5980cd7f7fe2e8425a032eafc3d4c0cffdc79a83a3aef382c988d739a cycle.h.patch" |