From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- libnl/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libnl/Pkgfile (limited to 'libnl/Pkgfile') diff --git a/libnl/Pkgfile b/libnl/Pkgfile new file mode 100644 index 000000000..5736cc7dc --- /dev/null +++ b/libnl/Pkgfile @@ -0,0 +1,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 +} -- cgit v1.2.3-54-g00ecf