new package: add package 'libnl' needed by wpa_supplicant

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-09-26 20:38:12 +02:00
parent e48b96371c
commit 22306f754c
4 changed files with 35 additions and 0 deletions

17
packages/network/libnl/build Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
. config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
make
$MAKEINSTALL

6
packages/network/libnl/install Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/lib/*.so* $INSTALL/usr/lib/

View File

@ -0,0 +1,11 @@
diff -Naur libnl-1.1/include/netlink-local.h libnl-1.1.patch/include/netlink-local.h
--- libnl-1.1/include/netlink-local.h 2008-01-14 16:48:45.000000000 +0100
+++ libnl-1.1.patch/include/netlink-local.h 2010-04-13 20:34:38.502955161 +0200
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
+#include <limits.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

View File

@ -0,0 +1 @@
https://launchpad.net/ubuntu/hardy/+source/libnl/1.1-1/+files/libnl_1.1.orig.tar.gz