wok rev 15993

dnsmasq: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 14:46:08 2014 +0100 (2014-03-02)
parents ade0043b3fac
children d6bbc99418ee
files dnsmasq/receipt
line diff
     1.1 --- a/dnsmasq/receipt	Sun Mar 02 14:27:39 2014 +0100
     1.2 +++ b/dnsmasq/receipt	Sun Mar 02 14:46:08 2014 +0100
     1.3 @@ -10,13 +10,14 @@
     1.4  WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
     1.5  WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
     1.6  CONFIG_FILE="/etc/dnsmasq.conf"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
    1.13 -	make PREFIX=/usr && make DESTDIR=$DESTDIR install
    1.14 -	mkdir -p $DESTDIR/etc
    1.15 +	make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
    1.16 +	mkdir -p $DESTDIR/etc &&
    1.17  	cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
    1.18  }
    1.19