summaryrefslogtreecommitdiff
path: root/staging/libnl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-10 23:15:14 +0000
committerroot <root@rshg054.dnsready.net>2012-02-10 23:15:14 +0000
commit9d1489b877a1fa7c2674cf1f744804db42d93bfc (patch)
tree33f1f96e0a8a2cc9a6a2939dfa0517a2ea47dcce /staging/libnl/PKGBUILD
parent4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (diff)
Fri Feb 10 23:15:14 UTC 2012
Diffstat (limited to 'staging/libnl/PKGBUILD')
-rw-r--r--staging/libnl/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/staging/libnl/PKGBUILD b/staging/libnl/PKGBUILD
new file mode 100644
index 000000000..835062bfb
--- /dev/null
+++ b/staging/libnl/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 149708 2012-02-09 17:20:44Z heftig $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=libnl
+pkgver=3.2.7
+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")
+md5sums=('6a233a9dffa0ee3a7f6110c95c5410ab')
+
+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
+}