aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libmnl/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/main/libmnl/APKBUILD b/main/libmnl/APKBUILD
index 8fe62b9fbc..392fb0154f 100644
--- a/main/libmnl/APKBUILD
+++ b/main/libmnl/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libmnl
-pkgver=1.0.3
-pkgrel=1
+pkgver=1.0.4
+pkgrel=0
pkgdesc="Library for minimalistic netlink"
url="http://www.netfilter.org/projects/libmnl/"
arch="all"
@@ -13,14 +13,10 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,8 +25,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="7d95fc3bea3365bc03c48e484224f65f libmnl-1.0.3.tar.bz2"
+md5sums="be9b4b5328c6da1bda565ac5dffadb2d libmnl-1.0.4.tar.bz2"
+sha256sums="171f89699f286a5854b72b91d06e8f8e3683064c5901fb09d954a9ab6f551f81 libmnl-1.0.4.tar.bz2"
+sha512sums="e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9 libmnl-1.0.4.tar.bz2"