aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-03-25 20:15:48 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-25 23:59:51 +0000
commitb6cb5f71f6a5fa4a168ee28d98664c8586011776 (patch)
tree27a5e23fe85a7b60e962b1a7d660300dc93c994b
parent9ee001a05c18624e66db3090e110b3f7f727ce8a (diff)
downloadaports-b6cb5f71f6a5fa4a168ee28d98664c8586011776.tar.bz2
aports-b6cb5f71f6a5fa4a168ee28d98664c8586011776.tar.xz
main/libatomic_ops: modernize
- Clarify license - Add link to s390x check issue - Modernize
-rw-r--r--main/libatomic_ops/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/main/libatomic_ops/APKBUILD b/main/libatomic_ops/APKBUILD
index 50757676a8..251112b718 100644
--- a/main/libatomic_ops/APKBUILD
+++ b/main/libatomic_ops/APKBUILD
@@ -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
}