aboutsummaryrefslogtreecommitdiffstats
path: root/community/openlibm/APKBUILD
blob: f354b7a8f04e9a5bf84d2f50733387ed2ab61698 (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.3
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="0733b1f9d7913a1f9421fc4ffeac174c  openlibm-0.5.3.tar.gz"
sha256sums="e86d001dfd05557e900e424bdc85024dbd5f00ad194d4607feb39c6f4d117512  openlibm-0.5.3.tar.gz"
sha512sums="b397482b00cd51b2e66dceff2c4c5ba58bb05b6ae9d16cdaecb2bb05a9accbd84ae4c5387a8ef31c49928a61776de21fed48943d551ec3f65e2943e9ac8ef2f8  openlibm-0.5.3.tar.gz"