wok-next view dnsmasq/receipt @ 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 | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dnsmasq"
4 VERSION="2.81"
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 {
16 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' \
17 Makefile
19 make PREFIX=/usr &&
20 make DESTDIR=$install install || return 1
22 install -Dm644 $src/dnsmasq.conf.example \
23 $install/etc/dnsmasq.conf
24 cp -a $stuff/* $install
25 }
27 genpkg_rules()
28 {
29 copy @std
30 CONFIG_FILES="/etc/dnsmasq.conf"
31 }