mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
new package: add package 'iptables'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
448a3e91ec
commit
9de90c51b2
20
packages/network/iptables/build
Executable file
20
packages/network/iptables/build
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build linux
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--with-kernel="$(kernel_path)" \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
6
packages/network/iptables/install
Executable file
6
packages/network/iptables/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.libs/*.so*[.0-9] $INSTALL/usr/lib/
|
1
packages/network/iptables/url
Normal file
1
packages/network/iptables/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.netfilter.org/projects/iptables/files/iptables-1.4.10.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user