summaryrefslogtreecommitdiffstats
path: root/extra/libnl/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:36:22 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:36:22 +0200
commit40ba24d174e1b62924776603aa87b71bed4f8953 (patch)
treef8faf1843ce6aff0991d02f67d520acbc1234534 /extra/libnl/Pkgfile
parent7e19e6ebae2b53f0d99cd9c65217b5737dc213c3 (diff)
downloadnutyx-pakxe-40ba24d174e1b62924776603aa87b71bed4f8953.tar.gz
nutyx-pakxe-40ba24d174e1b62924776603aa87b71bed4f8953.tar.bz2
nutyx-pakxe-40ba24d174e1b62924776603aa87b71bed4f8953.tar.xz
nutyx-pakxe-40ba24d174e1b62924776603aa87b71bed4f8953.zip
libnl dans extra
Diffstat (limited to 'extra/libnl/Pkgfile')
-rw-r--r--extra/libnl/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/libnl/Pkgfile b/extra/libnl/Pkgfile
new file mode 100644
index 000000000..5736cc7dc
--- /dev/null
+++ b/extra/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
+}