wok-next diff dnsmasq/receipt @ rev 9875

slitaz-boot-script: fix again for an -a
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 23:50:22 2011 +0200 (2011-05-16)
parents c63a3f2739c8
children 4be4e813f841
line diff
     1.1 --- a/dnsmasq/receipt	Mon Feb 28 02:28:06 2011 +0000
     1.2 +++ b/dnsmasq/receipt	Mon May 16 23:50:22 2011 +0200
     1.3 @@ -15,7 +15,9 @@
     1.4  {
     1.5  	cd $src
     1.6  	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
     1.7 -	make PREFIX=/usr && make DESTDIR=$PWD/_pkg install
     1.8 +	make PREFIX=/usr && make install
     1.9 +	mkdir -p $DESTDIR/etc
    1.10 +	cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
    1.11  }
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14 @@ -23,6 +25,7 @@
    1.15  {
    1.16  	mkdir -p $fs/usr
    1.17  	cp -a $_pkg/usr/sbin $fs/usr
    1.18 -	cp -a stuff/* $fs
    1.19 +	cp -a $_pkg/etc $fs
    1.20 +	cp -a $stuff/* $fs
    1.21  }
    1.22