summaryrefslogtreecommitdiff
path: root/pcr/liburcu/PKGBUILD
blob: 5b2adbef842d6c3afba49d9fbed95d3b4294b728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
# Maintainer: Christian Babeux <christian.babeux@0x80.ca>
# Contributor: Yggdrasil <tetzank at web dot de>

pkgname=liburcu
pkgver=0.8.6
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)
depends=('glibc')
options=('!libtool')

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

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