new package:

- add package libnl
This commit is contained in:
Stephan Raue 2010-04-14 17:14:22 +02:00
parent 1827aeb86a
commit 93e3617c05
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
$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
mkdir -p $INSTALL/usr/lib
cp -PR $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