summaryrefslogtreecommitdiff
path: root/testing/libnl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-15 00:02:45 +0000
committerroot <root@rshg054.dnsready.net>2012-05-15 00:02:45 +0000
commit52a4948b9138662b1e7b23b04ef0d72101519f2d (patch)
tree701b562dc98245a57c6a93f3c2f94e3b1832f0eb /testing/libnl/PKGBUILD
parentd3af8dc0117dc1ce4fea3d05c7a2d7786bd78986 (diff)
Tue May 15 00:02:45 UTC 2012
Diffstat (limited to 'testing/libnl/PKGBUILD')
-rw-r--r--testing/libnl/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libnl/PKGBUILD b/testing/libnl/PKGBUILD
new file mode 100644
index 000000000..461397764
--- /dev/null
+++ b/testing/libnl/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 158932 2012-05-13 13:10:53Z thomas $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=libnl
+pkgver=3.2.9
+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=('9f23e9460bd9bb7fbe09af5eb281e4a43a26fa245ea864ed5e28fe4e8118af63')
+
+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
+}