aboutsummaryrefslogtreecommitdiffstats
path: root/main/fftw/APKBUILD
blob: 357473ee01076a74fc3246d87651b551f9490fda (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
35
36
37
38
39
40
41
42
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fftw
pkgver=3.3.4
pkgrel=0
pkgdesc="fastest fourier transform in the west"
url="http://www.fftw.org/"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://www.fftw.org/$pkgname-$pkgver.tar.gz"
arch="all"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-single \
		--enable-shared \
		--enable-threads \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="2edab8c06b24feeb3b82bbb3ebf3e7b3  fftw-3.3.4.tar.gz"
sha256sums="8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982  fftw-3.3.4.tar.gz"
sha512sums="1ee2c7bec3657f6846e63c6dfa71410563830d2b951966bf0123bd8f4f2f5d6b50f13b76d9a7b0eae70e44856f829ca6ceb3d080bb01649d1572c9f3f68e8eb1  fftw-3.3.4.tar.gz"