wok-next view dnsmasq/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 94e38c8709e5
children d5aab818505e
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
11 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
12 CONFIG_FILE="/etc/dnsmasq.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
18 make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
19 mkdir -p $DESTDIR/etc &&
20 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 cp -a $install/etc $fs
29 cp -a $stuff/* $fs
30 }