wok diff nmap/receipt @ rev 243
Linux: patches compatible with busybox/patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 22:54:56 2008 +0100 (2008-02-18) |
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 Feb 18 22:54:56 2008 +0100 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