summaryrefslogblamecommitdiff
path: root/user/userspace-rcu/APKBUILD
blob: e36f0f6bfa3a5a05509fec5606622576748e246e (plain) (tree)



































                                                                                                                                                                          
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=userspace-rcu
pkgver=0.14.0
pkgrel=0
pkgdesc="Userspace RCU (read-copy-update) library"
url="https://liburcu.org"
arch="all"
license="LGPL-2.1-only"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://lttng.org/files/urcu/userspace-rcu-$pkgver.tar.bz2
	endian.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7297e51012f4c44ee27c0e18ed9d87bf24be34db68a5398394c1e683a045bb561cf74aa913398404c0ed5cb8011af728ea12947717fa5f27627e5ca78e63a40f  userspace-rcu-0.14.0.tar.bz2
07935ed9741554b2cbc343fdd6218172deca4d4167b31b92f2be82623c5d83191472da2b4bee5adcd59e3d4bec3751d3e793cc720b822b6060dc588b8ee58f16  endian.patch"