wok-next view dnsmasq/receipt @ rev 21627

updated enet (1.2.1 -> 1.3.15)
author Hans-G?nter Theisgen
date Thu Jun 25 16:07:08 2020 +0100 (2020-06-25)
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 }