mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/openlibm to 0.8.3-1
This commit is contained in:
parent
4161c056a7
commit
f8129ddddf
2 changed files with 13 additions and 11 deletions
|
@ -1,12 +1,13 @@
|
||||||
pkgbase = openlibm
|
pkgbase = openlibm
|
||||||
pkgdesc = Standalone implementation of C mathematical functions
|
pkgdesc = Standalone implementation of C mathematical functions
|
||||||
pkgver = 0.8.2
|
pkgver = 0.8.3
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://openlibm.org/
|
url = https://openlibm.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = BSD
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
depends = glibc
|
depends = glibc
|
||||||
source = https://github.com/JuliaLang/openlibm/archive/v0.8.2/openlibm-0.8.2.tar.gz
|
source = git+https://github.com/JuliaLang/openlibm#tag=v0.8.3
|
||||||
sha256sums = 7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d
|
sha256sums = f7c5ce8166b53ec31f6169ae9ae11d033ff0b05b9a05e53591b430a34bca9845
|
||||||
|
|
||||||
pkgname = openlibm
|
pkgname = openlibm
|
||||||
|
|
|
@ -6,31 +6,32 @@
|
||||||
# - patch out hard ARM march and float specification
|
# - patch out hard ARM march and float specification
|
||||||
|
|
||||||
pkgname=openlibm
|
pkgname=openlibm
|
||||||
pkgver=0.8.2
|
pkgver=0.8.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Standalone implementation of C mathematical functions'
|
pkgdesc='Standalone implementation of C mathematical functions'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://openlibm.org/'
|
url='https://openlibm.org/'
|
||||||
license=(BSD)
|
license=(MIT)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
source=(https://github.com/JuliaLang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz
|
makedepends=(git)
|
||||||
|
source=(git+https://github.com/JuliaLang/$pkgname#tag=v$pkgver
|
||||||
'0001-Remove-ARM-march-and-float-specification.patch')
|
'0001-Remove-ARM-march-and-float-specification.patch')
|
||||||
sha256sums=('7244f9aa468584744e260cef740d57d10eab6e9c05f62084f8f2ba457f4b4b1d'
|
sha256sums=('SKIP'
|
||||||
'1d8a5781bf7d87ae955b7c4c88f76c523eb30a9f0d057be223323cae578da31c')
|
'1d8a5781bf7d87ae955b7c4c88f76c523eb30a9f0d057be223323cae578da31c')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
patch -p1 -i ../0001-Remove-ARM-march-and-float-specification.patch
|
patch -p1 -i ../0001-Remove-ARM-march-and-float-specification.patch
|
||||||
sed -e 's|/usr/local|/usr|' -i Make.inc
|
sed -e 's|/usr/local|/usr|' -i Make.inc
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
make prefix=/usr
|
make prefix=/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
|
install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
|
Loading…
Reference in a new issue