summaryrefslogtreecommitdiffstats
path: root/base/libnl/Pkgfile
blob: 30a2b1245b4532d6c6f96bd15d95ec9c297a58bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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=1
source=(http://kiao.no-ip.info/sources/$name-$version.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/{libnl-1.pc,01-missing_declaration.patch,gcc43.patch})

build() {
	cd $name-$version
	patch -Np1 -i ../01-missing_declaration.patch
	patch -Np1 -i ../gcc43.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	install -D -m0644 ../libnl-1.pc $PKG/usr/lib/pkgconfig/libnl-1.pc
	
}