diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-20 13:52:18 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-20 13:53:39 +0000 |
commit | e35bf250f404601f87d960ffaac3ce4ea589d7f9 (patch) | |
tree | c26e029ba50d3af4913430103cd7aa9950e6d36c | |
parent | 0d2a2b4e0793f56a78bc9589dd98b7303efb6d65 (diff) | |
download | alpine_aports-e35bf250f404601f87d960ffaac3ce4ea589d7f9.tar.bz2 alpine_aports-e35bf250f404601f87d960ffaac3ce4ea589d7f9.tar.xz alpine_aports-e35bf250f404601f87d960ffaac3ce4ea589d7f9.zip |
testing/liburcu: new aport
-rw-r--r-- | testing/liburcu/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/liburcu/APKBUILD b/testing/liburcu/APKBUILD new file mode 100644 index 0000000000..914464e59d --- /dev/null +++ b/testing/liburcu/APKBUILD | |||
@@ -0,0 +1,43 @@ | |||
1 | # Contributor: Francesco Colista <fcolista@alpinelinux.org> | ||
2 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> | ||
3 | pkgname=liburcu | ||
4 | pkgver=0.8.4 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="LGPLv2.1 userspace RCU (read-copy-update) library" | ||
7 | url="http://lttng.org/urcu" | ||
8 | arch="all" | ||
9 | license="LGPL2.1" | ||
10 | depends="" | ||
11 | depends_dev="" | ||
12 | makedepends="$depends_dev" | ||
13 | options="libtool" | ||
14 | install="" | ||
15 | subpackages="$pkgname-dev $pkgname-doc" | ||
16 | source="http://lttng.org/files/urcu/userspace-rcu-$pkgver.tar.bz2" | ||
17 | |||
18 | _builddir="$srcdir"/userspace-rcu-$pkgver | ||
19 | prepare() { | ||
20 | local i | ||
21 | cd "$_builddir" | ||
22 | for i in $source; do | ||
23 | case $i in | ||
24 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
25 | esac | ||
26 | done | ||
27 | } | ||
28 | |||
29 | build() { | ||
30 | cd "$_builddir" | ||
31 | ./configure --prefix=/usr | ||
32 | make | ||
33 | } | ||
34 | |||
35 | package() { | ||
36 | cd "$_builddir" | ||
37 | make install DESTDIR=$pkgdir | ||
38 | rm -f "$pkgdir"/usr/lib/*.la | ||
39 | } | ||
40 | |||
41 | md5sums="2ca6671b20a550aa0e8020a1a9a96fd4 userspace-rcu-0.8.4.tar.bz2" | ||
42 | sha256sums="96c0a157e94a15b1506efe9aedd98145e6eb41a3fbcf5b0d118b7a783b22fe12 userspace-rcu-0.8.4.tar.bz2" | ||
43 | sha512sums="62a2c7bc9923947bcdd17f7bc5ff6d12e6bc7b63d108977dc9dd990827c043452974800bb494b80c383279916482e12b441184834b4c84a226113af4923e32e6 userspace-rcu-0.8.4.tar.bz2" | ||