mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
new package: add package 'libnl' needed by wpa_supplicant
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e48b96371c
commit
22306f754c
17
packages/network/libnl/build
Executable file
17
packages/network/libnl/build
Executable 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
6
packages/network/libnl/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/lib/*.so* $INSTALL/usr/lib/
|
@ -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>
|
1
packages/network/libnl/url
Normal file
1
packages/network/libnl/url
Normal file
@ -0,0 +1 @@
|
||||
https://launchpad.net/ubuntu/hardy/+source/libnl/1.1-1/+files/libnl_1.1.orig.tar.gz
|
Loading…
x
Reference in New Issue
Block a user