aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnl3
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-09 06:22:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-09 06:23:00 +0000
commitdbfc296665c2ea5f1531855ae0583c81667be4f0 (patch)
tree6edb9fb9b8c17d14419a187712562d1d5300c8af /main/libnl3
parentfd389fd3d84b954cf6caf33981aac13fc17f4e96 (diff)
downloadaports-dbfc296665c2ea5f1531855ae0583c81667be4f0.tar.bz2
aports-dbfc296665c2ea5f1531855ae0583c81667be4f0.tar.xz
main/libnl3: upgrade to 3.2.26
Diffstat (limited to 'main/libnl3')
-rw-r--r--main/libnl3/APKBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/main/libnl3/APKBUILD b/main/libnl3/APKBUILD
index 750038aa76..2effc216cd 100644
--- a/main/libnl3/APKBUILD
+++ b/main/libnl3/APKBUILD
@@ -1,16 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnl3
-pkgver=3.2.25
-pkgrel=1
+pkgver=3.2.26
+pkgrel=0
pkgdesc="Library for applications dealing with netlink sockets"
url="http://www.infradead.org/~tgr/libnl/"
arch="all"
license="GPL"
depends=
-makedepends="linux-headers flex bison"
-subpackages="$pkgname-dev"
-source="http://distfiles.gentoo.org/distfiles/libnl-$pkgver.tar.gz"
-source="http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-$pkgver.tar.gz"
+makedepends="linux-headers flex bison libtool autoconf automake"
+subpackages="$pkgname-dev $pkgname-cli"
+source="https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/libnl-$pkgver.tar.gz"
_builddir="$srcdir"/libnl-$pkgver
@@ -21,6 +20,7 @@ prepare () {
*.patch) msg $i; patch -s -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ autoreconf -vif
}
build () {
@@ -40,6 +40,12 @@ package() {
find "$pkgdir"/usr/lib -name '*.la' -delete
}
-md5sums="03f74d0cd5037cadc8cdfa313bbd195c libnl-3.2.25.tar.gz"
-sha256sums="8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5 libnl-3.2.25.tar.gz"
-sha512sums="3f9649577e9282cf41d2d4894aaecb2d53b4a1c51f9e674a6fb73393e9482f9f45e6f0ffa5815e606f972916e369774bfd85141a96c0e3d9d4ead3adea796286 libnl-3.2.25.tar.gz"
+cli() {
+ pkgdesc="Command line interface utils for libnl3"
+ mkdir -p "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/libnl-cli*.so.* "$subpkgdir"/usr/lib/
+}
+
+md5sums="c8de31b74b1c15267b5ac2927b11125c libnl-3.2.26.tar.gz"
+sha256sums="1323ff6cea47efe9f988893b09840942a8c36131f472a9f3b96eb68d8f8d7555 libnl-3.2.26.tar.gz"
+sha512sums="5ab4a3a40244d71e0c8c50fcef30a67f814509d508e9537c85f2d710578a8a61513e7f26b2c0c29a9817484ca6ecd005e53b4f9054cd878274ae3b439abbe516 libnl-3.2.26.tar.gz"