blob: 556591a2369d0340b795b5e9df5250a57257dd6f (
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
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=openlibm
pkgver=0.7.0
pkgrel=0
pkgdesc="High quality system independent, portable, open source libm implementation"
url="https://openlibm.org/"
# mips fails due to softfloat
arch="all !s390x !mips !mips64"
license="MIT AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later"
subpackages="$pkgname-dev"
source="openlibm-$pkgver.tar.gz::https://github.com/JuliaLang/openlibm/archive/v$pkgver.tar.gz
powerpc_fixes.patch"
build() {
make
}
check() {
make check
}
package() {
make VERSION=$pkgver DESTDIR="$pkgdir" prefix=/usr install
rm -f "$pkgdir"/usr/lib/*.a
}
sha512sums="e52245ea93513fb1d9eade348f7c4ad4f1b500944024f7d52d71d43af908059e581ea77df6fc879414ff17c860263debec3aaf6ac86eea03ee1fe23d180487ed openlibm-0.7.0.tar.gz
76ee57a281275b2bd382f0485e4ca383566af47f3d89981b75ad764c629d82f7f0260fb41cc9eb50f0f175c88b64699aabcc732add321f4d730f38ba7a48238d powerpc_fixes.patch"
|