blob: 29edac2e782be7804beca3feb9ec4d006ea714ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 137795 2011-09-11 08:35:21Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=libnl
pkgver=1.1
pkgrel=3
pkgdesc="Library for applications dealing with netlink sockets"
arch=('i686' 'x86_64' 'mips64el')
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')
build() {
cd ${srcdir}/libnl-${pkgver}
patch -Np1 -i ${srcdir}/fix-compilation.patch
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/libnl-${pkgver}
make DESTDIR=${pkgdir} install
}
|