wok-next diff dnsmasq/receipt @ rev 21445

updated scim (1.4.17 -> 1.4.18)
author Hans-G?nter Theisgen
date Tue May 05 16:55:11 2020 +0100 (2020-05-05)
parents c4e53a39395a
children 4185ab301e8d
line diff
     1.1 --- a/dnsmasq/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/dnsmasq/receipt	Tue May 05 16:55:11 2020 +0100
     1.3 @@ -1,31 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="dnsmasq"
     1.8  VERSION="2.68"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Lightweight, DNS forwarder and DHCP server."
    1.11 +SHORT_DESC="Lightweight, DNS forwarder and DHCP server"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
    1.18  WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
    1.19 -CONFIG_FILE="/etc/dnsmasq.conf"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 +compile_rules() {
    1.25  	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
    1.26 -	make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
    1.27 -	mkdir -p $DESTDIR/etc &&
    1.28 -	cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
    1.29 +
    1.30 +	make PREFIX=/usr &&
    1.31 +	make DESTDIR=$install install || return 1
    1.32 +
    1.33 +	install -Dm644 $src/dnsmasq.conf.example $install/etc/dnsmasq.conf
    1.34 +	cp -a $stuff/* $install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/sbin $fs/usr
    1.42 -	cp -a $install/etc $fs
    1.43 -	cp -a $stuff/* $fs
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	CONFIG_FILES="/etc/dnsmasq.conf"
    1.47  }
    1.48 -