core/libnl/PKGBUILD

24 lines
760 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
# $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
2010-04-04 22:20:41 +08:00
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="Library for applications dealing with netlink sockets"
arch=('i686' 'x86_64')
url="http://people.suug.ch/~tgr/libnl"
license=('GPL')
depends=('glibc')
2010-04-05 19:44:27 +08:00
source=(http://konnektion.ath.cx/sources/core/libnl/${pkgname}-${pkgver}.tar.gz
2010-03-13 23:25:19 +08:00
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
}