wok-4.x rev 932

iptables: now use GNU autotools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 19 14:54:41 2008 +0200 (2008-06-19)
parents e956e0b99306
children 9e2bae22918d
files iptables/receipt
line diff
     1.1 --- a/iptables/receipt	Thu Jun 19 14:34:32 2008 +0200
     1.2 +++ b/iptables/receipt	Thu Jun 19 14:54:41 2008 +0200
     1.3 @@ -17,20 +17,19 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
     1.8 -	LIBDIR=/lib MANDIR=/usr/share/man
     1.9 -	# Install in $PWD_pkg dir.
    1.10 -	make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
    1.11 -	LIBDIR=/lib MANDIR=/usr/share/man \
    1.12 -	DESTDIR=$PWD/_pkg install
    1.13 +	./configure \
    1.14 +		--prefix=/usr \
    1.15 +		--libexecdir=/usr/lib/iptables \
    1.16 +		--mandir=/usr/share/man \
    1.17 +		$CONFIGURE_ARGS
    1.18 +	make
    1.19 +	make DESTDIR=$PWD/_pkg install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/sbin
    1.26 -	# Sbin.
    1.27 -	cp -a $_pkg/sbin/iptables* $fs/sbin
    1.28 -	# Libs.
    1.29 -	cp -a $_pkg/lib $fs
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/sbin $fs/sbin
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33  }