aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-07 00:59:33 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-30 15:13:44 +0000
commitc35bc1d1981599b82380b1acb30ba4c00779ca9c (patch)
tree1f75a1a94aa3548aeccb1b7172da3d2b235cb223
parent67f37a4cbfe1050cfad229dcd975c43e14432001 (diff)
downloadaports-c35bc1d1981599b82380b1acb30ba4c00779ca9c.tar.gz
aports-c35bc1d1981599b82380b1acb30ba4c00779ca9c.tar.bz2
aports-c35bc1d1981599b82380b1acb30ba4c00779ca9c.tar.xz
main/userspace-rcu: upgrade to 0.11.0
-rw-r--r--main/userspace-rcu/APKBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/main/userspace-rcu/APKBUILD b/main/userspace-rcu/APKBUILD
index f40913c990..740f203af2 100644
--- a/main/userspace-rcu/APKBUILD
+++ b/main/userspace-rcu/APKBUILD
@@ -2,19 +2,15 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=userspace-rcu
-pkgver=0.10.2
+pkgver=0.11.0
pkgrel=0
pkgdesc="A userspace RCU (read-copy-update) library"
-url="http://lttng.org/urcu/"
+url="http://liburcu.org/"
arch="all"
license="LGPL-2.1-or-later"
-depends=""
-depends_dev=""
-makedepends="$depends_dev bash perl perl-utils"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="bash perl perl-utils"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://lttng.org/files/urcu/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
@@ -47,7 +43,14 @@ dev() {
# by the default dev splitfunc
cp -pr "$subpkgdir"/usr/share/doc/$pkgname \
"$pkgdir"/usr/share/doc/
- rm -rf "$subpkgdir"/usr/share/doc/$pkgname
+ rm -rf "$subpkgdir"/usr/share/doc/
}
-sha512sums="47413b4a593d19185ee3d455e5744042c060cb50008dac25e9135c5cd2250ef5129a419258b18c665c8c794ad3b09234fdd70a106c72d8fc64631172b13d0e22 userspace-rcu-0.10.2.tar.bz2"
+static() {
+ depends=""
+ pkgdesc="$pkgdesc (static libraries)"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
+}
+
+sha512sums="01f211edce9b478c5776e54888e30ebef1105c7463b72800ee55dd097ad667ee5eca651cc755b61cc9a86a610b1c82f8fb21bd583554ad6713f33c74aa93d7eb userspace-rcu-0.11.0.tar.bz2"