summaryrefslogtreecommitdiffstats
path: root/base/libnl/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-24 09:47:08 +0200
committersibel <lesibel@free.fr>2011-04-24 09:47:08 +0200
commitcab73076bed1b7374cfd9e72c67027b3a32ee1be (patch)
treef62023adbd409cb5ad2ee048a3de762da4f18bee /base/libnl/Pkgfile
parentaee21ef891290b37c6a3c02e3f99b5c39e327180 (diff)
downloadnutyx-pakxe-cab73076bed1b7374cfd9e72c67027b3a32ee1be.tar.gz
nutyx-pakxe-cab73076bed1b7374cfd9e72c67027b3a32ee1be.tar.bz2
nutyx-pakxe-cab73076bed1b7374cfd9e72c67027b3a32ee1be.tar.xz
nutyx-pakxe-cab73076bed1b7374cfd9e72c67027b3a32ee1be.zip
libnl, downgrade en version 1
Diffstat (limited to 'base/libnl/Pkgfile')
-rw-r--r--base/libnl/Pkgfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/base/libnl/Pkgfile b/base/libnl/Pkgfile
index 5a0e43f6b..5736cc7dc 100644
--- a/base/libnl/Pkgfile
+++ b/base/libnl/Pkgfile
@@ -5,13 +5,20 @@
# Depends on:
name=libnl
-version=2.0
-release=1
-source=(http://www.infradead.org/~tgr/$name/files/$name-$version.tar.gz)
+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
}