wok-next view dnsmasq/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents c4e53a39395a
children 4185ab301e8d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dnsmasq"
4 VERSION="2.68"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight, DNS forwarder and DHCP server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
14 compile_rules() {
15 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
17 make PREFIX=/usr &&
18 make DESTDIR=$install install || return 1
20 install -Dm644 $src/dnsmasq.conf.example $install/etc/dnsmasq.conf
21 cp -a $stuff/* $install
22 }
24 genpkg_rules() {
25 copy @std
26 CONFIG_FILES="/etc/dnsmasq.conf"
27 }