diff options
Diffstat (limited to 'core/libnl/PKGBUILD')
-rw-r--r-- | core/libnl/PKGBUILD | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/core/libnl/PKGBUILD b/core/libnl/PKGBUILD index 18803a30f..7893a115f 100644 --- a/core/libnl/PKGBUILD +++ b/core/libnl/PKGBUILD @@ -1,28 +1,31 @@ -# $Id: PKGBUILD 137795 2011-09-11 08:35:21Z pierre $ +# $Id: PKGBUILD 150892 2012-02-23 13:54:02Z allan $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: William Rea <sillywilly@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 } |