# Maintainer : Parabola GNU / Linux-libre Aur�lien Desbri�res <aurelien@cwb.io>

pkgname=liburcu
pkgver=0.7.5
pkgrel=1
pkgdesc="LGPLv2.1 userspace RCU (read-copy-update) library"
arch=('i686' 'x86_64')
url="http://lttng.org/urcu"
license=('LGPL2.1')
source=(http://lttng.org/files/urcu/userspace-rcu-${pkgver}.tar.bz2)
md5sums=('2c5083fac662ecd38d6076dffa86259b')

build() {
	cd ${srcdir}/userspace-rcu-${pkgver}
	./configure --prefix=/usr
	make
}

package() {
	cd ${srcdir}/userspace-rcu-${pkgver}
	make DESTDIR=${pkgdir} install
}