mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-05 17:07:49 +00:00
new package:
- add package libnl
This commit is contained in:
parent
1827aeb86a
commit
93e3617c05
17
packages/network/libnl/build
Executable file
17
packages/network/libnl/build
Executable 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
6
packages/network/libnl/install
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $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