summaryrefslogtreecommitdiffstats
path: root/libnl/Pkgfile
blob: 5736cc7dcd4d4da267973977c80045902c6376bf (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
# Description: Librairie pour des application utilisants des sockets
# URL: http://people.suug.ch/~tgr/libnl
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=libnl
version=1.1
release=2
source=(http://www.infradead.org/~tgr/$name/files/$name-$version.tar.gz
	libnl-1-1-vlan-header.patch 
	libnl-1.1-fix-compilation.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../libnl-1.1-fix-compilation.patch
#	patch -Np1 -i ../libnl-1-1-vlan-header.patch  

	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	mkdir -p $PKG/usr/include/netlink
#	cp -a include/netlink/cli $PKG/usr/include/netlink/cli
}