summaryrefslogtreecommitdiff
path: root/pcr/liburcu/PKGBUILD
blob: ed5f587ee4bf4c69aba110a9e266db585a14aace (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
# Contributor: Christian Babeux <christian.babeux@0x80.ca>
# Contributor: Yggdrasil <tetzank at web dot de>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=liburcu
pkgver=0.8.4
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}
}