wok-6.x diff iptables/receipt @ rev 1229
perdition: add message in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 10 19:18:47 2008 +0000 (2008-08-10) |
parents | 1aa56671fcd2 |
children | 7072d5ba9317 |
line diff
1.1 --- a/iptables/receipt Thu Jun 19 11:52:34 2008 +0200 1.2 +++ b/iptables/receipt Sun Aug 10 19:18:47 2008 +0000 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 }