aboutsummaryrefslogtreecommitdiffstats
path: root/community/openlibm/APKBUILD
blob: 346e5ca314b3155c1dd3a5e27b663a22d1883658 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=openlibm
pkgver=0.5.4
pkgrel=0
pkgdesc="High quality system independent, portable, open source libm implementation"
url="http://www.openlibm.org"
arch="all"
license="MIT BSD public-domain"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make VERSION=$pkgver DESTDIR="$pkgdir" prefix=/usr install
}

md5sums="3cb0e96d1fd4d2a4a3e680c23f11768a  openlibm-0.5.4.tar.gz"
sha256sums="9a8ae1d17825a4a6a4c013d36a7f4348b27c47eedb6549c521ecc9c79d021c13  openlibm-0.5.4.tar.gz"
sha512sums="ca74936b9eb7a52566cc509ffb98dd9e1672cd4029ba0193162505e53fe671b8903c37ef4036c15d0872ca246079a792d1630f3a93024010ff0c232f78295192  openlibm-0.5.4.tar.gz"