Date: Thursday, February 9, 2012 @ 12:19:23 Author: heftig Revision: 149707
3.2.7 Modified: libnl/trunk/PKGBUILD Deleted: libnl/trunk/fix-compilation.patch -----------------------+ PKGBUILD | 31 +++++++++++++++++-------------- fix-compilation.patch | 10 ---------- 2 files changed, 17 insertions(+), 24 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-09 17:18:18 UTC (rev 149706) +++ PKGBUILD 2012-02-09 17:19:23 UTC (rev 149707) @@ -3,26 +3,29 @@ # Contributor: William Rea <sillywi...@gmail.com> pkgname=libnl -pkgver=1.1 -pkgrel=3 +pkgver=3.2.7 +pkgrel=1 pkgdesc="Library for applications dealing with netlink sockets" -arch=('i686' 'x86_64') +arch=(i686 x86_64) url="http://www.infradead.org/~tgr/libnl/" -license=('GPL') -depends=('glibc') -source=("http://www.infradead.org/~tgr/libnl/files/${pkgname}-${pkgver}.tar.gz" - 'fix-compilation.patch') -md5sums=('ae970ccd9144e132b68664f98e7ceeb1' - 'e1f5e82c8aa1b3ad025c7b588178de1e') +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}/libnl-${pkgver} - patch -Np1 -i ${srcdir}/fix-compilation.patch - ./configure --prefix=/usr + cd "$srcdir/$pkgname-$pkgver" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --disable-static make } package() { - cd ${srcdir}/libnl-${pkgver} - make DESTDIR=${pkgdir} install + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } Deleted: fix-compilation.patch =================================================================== --- fix-compilation.patch 2012-02-09 17:18:18 UTC (rev 149706) +++ fix-compilation.patch 2012-02-09 17:19:23 UTC (rev 149707) @@ -1,10 +0,0 @@ ---- libnl-1.1.orig/include/netlink-local.h 2008-01-14 16:48:45.000000000 +0100 -+++ libnl-1.1/include/netlink-local.h 2009-06-26 11:15:33.186011844 +0200 -@@ -26,6 +26,7 @@ - #include <sys/socket.h> - #include <inttypes.h> - #include <assert.h> -+#include <limits.h> - - #include <arpa/inet.h> - #include <netdb.h>