wok-next view dnsmasq/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
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 }