From c77c7fc60c48c9aaa8f915eb112405e8879e46aa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Jun 2012 00:01:57 +0000 Subject: Wed Jun 27 00:01:57 UTC 2012 --- testing/libnl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/libnl/PKGBUILD (limited to 'testing/libnl') diff --git a/testing/libnl/PKGBUILD b/testing/libnl/PKGBUILD new file mode 100644 index 000000000..67f071a46 --- /dev/null +++ b/testing/libnl/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 162351 2012-06-25 18:39:40Z thomas $ +# Maintainer: Thomas Bächler + +pkgname=libnl +pkgver=3.2.11 +pkgrel=1 +pkgdesc="Library for applications dealing with netlink sockets" +arch=(i686 x86_64) +url="http://www.infradead.org/~tgr/libnl/" +license=(GPL) +depends=(glibc) +backup=(etc/libnl/classid etc/libnl/pktloc) +options=(!libtool) +source=("$url/files/$pkgname-$pkgver.tar.gz") +sha256sums=('9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3-54-g00ecf