wok-4.x diff dnsmasq/receipt @ rev 9698

Fixed bugs from last commit.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 07 17:51:17 2011 +0000 (2011-05-07)
parents c63a3f2739c8
children 4be4e813f841
line diff
     1.1 --- a/dnsmasq/receipt	Mon Feb 28 02:28:06 2011 +0000
     1.2 +++ b/dnsmasq/receipt	Sat May 07 17:51:17 2011 +0000
     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