wok-4.x rev 184

FIX : nmap dirin /usr/share
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Feb 05 23:49:00 2008 +0100 (2008-02-05)
parents 82c09db092e2
children c1ba24889104
files nmap/receipt
line diff
     1.1 --- a/nmap/receipt	Tue Feb 05 22:41:51 2008 +0100
     1.2 +++ b/nmap/receipt	Tue Feb 05 23:49:00 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