Commit b6cb5f71 authored by TBK's avatar TBK Committed by Leo

main/libatomic_ops: modernize

- Clarify license
- Add link to s390x check issue
- Modernize
parent 9ee001a0
......@@ -2,20 +2,19 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=libatomic_ops
pkgver=7.6.10
pkgrel=1
pkgrel=2
pkgdesc="Semi-portable access to hardware provided atomic memory operations"
arch="all"
url="https://github.com/ivmai/libatomic_ops"
license="GPL-2.0-or-later MIT"
license="GPL-2.0-or-later AND MIT"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/ivmai/libatomic_ops/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
source="https://github.com/ivmai/libatomic_ops/releases/download/v$pkgver/libatomic_ops-$pkgver.tar.gz"
case "$CARCH" in
s390x) options="!check" ;; # FIXME
s390x) options="!check" ;; # FIXME https://github.com/ivmai/libatomic_ops/issues/44
esac
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,12 +27,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment