wok diff nmap/receipt @ rev 498
Busybox: add patch -R
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 24 15:49:00 2008 +0000 (2008-03-24) |
parents | b320922a9117 |
children | 10d7169ad9a0 |
line diff
1.1 --- a/nmap/receipt Tue Feb 05 00:17:05 2008 +0100 1.2 +++ b/nmap/receipt Mon Mar 24 15:49:00 2008 +0000 1.3 @@ -15,8 +15,11 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.8 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.9 + ./configure --prefix=/usr \ 1.10 + --infodir=/usr/share/info \ 1.11 + --cache-file=$PWD/config.cache \ 1.12 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.13 + 1.14 make 1.15 make DESTDIR=$PWD/_pkg install-nmap 1.16 } 1.17 @@ -24,8 +27,11 @@ 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 - mkdir -p $fs/usr 1.22 + mkdir -p $fs/usr $fs/usr/share 1.23 + 1.24 cp -a $_pkg/usr/bin $fs/usr 1.25 + cp -a $_pkg/usr/share/nmap $fs/usr/share 1.26 + 1.27 strip -s $fs/usr/bin/* 1.28 } 1.29