wok-next rev 21594

updated dnsmasq (2.68 -> 2.81)
author Hans-G?nter Theisgen
date Wed Jun 24 07:44:07 2020 +0100 (2020-06-24)
parents 67a490ff65bd
children 6c78a08cdfae
files dnsmasq/receipt
line diff
     1.1 --- a/dnsmasq/receipt	Wed Jun 24 07:40:25 2020 +0100
     1.2 +++ b/dnsmasq/receipt	Wed Jun 24 07:44:07 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="dnsmasq"
     1.7 -VERSION="2.68"
     1.8 +VERSION="2.81"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Lightweight, DNS forwarder and DHCP server"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,17 +11,21 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
    1.15  
    1.16 -compile_rules() {
    1.17 -	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
    1.18 +compile_rules()
    1.19 +{
    1.20 +	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' \
    1.21 +		Makefile
    1.22  
    1.23  	make PREFIX=/usr &&
    1.24  	make DESTDIR=$install install || return 1
    1.25  
    1.26 -	install -Dm644 $src/dnsmasq.conf.example $install/etc/dnsmasq.conf
    1.27 -	cp -a $stuff/* $install
    1.28 +	install -Dm644 $src/dnsmasq.conf.example \
    1.29 +		$install/etc/dnsmasq.conf
    1.30 +	cp -a $stuff/*	$install
    1.31  }
    1.32  
    1.33 -genpkg_rules() {
    1.34 +genpkg_rules()
    1.35 +{
    1.36  	copy @std
    1.37  	CONFIG_FILES="/etc/dnsmasq.conf"
    1.38  }