mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Maintainer: TBK <alpine@jjtc.eu>
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
|
|
pkgname=libatomic_ops
|
|
pkgver=7.6.10
|
|
pkgrel=0
|
|
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"
|
|
makedepends=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/ivmai/libatomic_ops/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/"$pkgname-$pkgver
|
|
|
|
case "$CARCH" in
|
|
s390x) options="!check" ;; # FIXME
|
|
esac
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-shared \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="4661445503ef4303e873559af319ad799a7eddad3df45ad602cf338c594a642ad4333a36fa91722f0d8c48acd38bbf45c60a468c7375d14824520a83c1109ec9 libatomic_ops-7.6.10.tar.gz"
|