new package: add package 'iptables'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-04 02:32:02 +01:00
parent 448a3e91ec
commit 9de90c51b2
3 changed files with 27 additions and 0 deletions

20
packages/network/iptables/build Executable file
View 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

View 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/

View File

@ -0,0 +1 @@
http://www.netfilter.org/projects/iptables/files/iptables-1.4.10.tar.bz2