mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 16:12:22 +01:00
32 lines
962 B
Plaintext
32 lines
962 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=openlibm
|
|
pkgver=0.6.0
|
|
pkgrel=0
|
|
pkgdesc="High quality system independent, portable, open source libm implementation"
|
|
url="http://www.openlibm.org"
|
|
arch="all !s390x"
|
|
license="MIT BSD Public-Domain"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz
|
|
powerpc_fixes.patch"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make VERSION=$pkgver DESTDIR="$pkgdir" prefix=/usr install
|
|
}
|
|
|
|
sha512sums="ea7770c5e82ddfe84d7490a5175439cf676f2c517f029a748cfeec174234f33ee04c42ce284753771588a36b4b9b5d8c2f72f2235408d8f9393bdf19abfec7b1 openlibm-0.6.0.tar.gz
|
|
76ee57a281275b2bd382f0485e4ca383566af47f3d89981b75ad764c629d82f7f0260fb41cc9eb50f0f175c88b64699aabcc732add321f4d730f38ba7a48238d powerpc_fixes.patch"
|