summaryrefslogtreecommitdiffstats
path: root/base/libnl/Pkgfile
diff options
context:
space:
mode:
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
}