updated PKGBUILD from abs

This commit is contained in:
IanJB 2009-11-29 03:24:30 -08:00
parent c20bab84bc
commit 9a31f89ed3

View file

@ -1,19 +1,22 @@
# $Id: PKGBUILD 44932 2009-07-05 14:37:17Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=libnl
pkgver=1.1
pkgrel=1
pkgdesc="Library for applications dealing with netlink sockets"
arch=('arm')
arch=('i686' 'x86_64' 'arm')
url="http://people.suug.ch/~tgr/libnl"
license=('GPL')
depends=('glibc')
source=(http://downloads.openwrt.org/sources/libnl-1.1.tar.gz)
md5sums=('ae970ccd9144e132b68664f98e7ceeb1')
source=(ftp://ftp.archlinux.org/other/libnl/${pkgname}-${pkgver}.tar.gz
fix-compilation.patch)
md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
'e1f5e82c8aa1b3ad025c7b588178de1e')
build() {
cd ${startdir}/src/libnl-${pkgver}
patch -Np1 -i ${srcdir}/fix-compilation.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1