wok annotate dnsmasq/receipt @ rev 23835

Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 09:34:18 2020 +0000 (2020-06-01)
parents ffc82bc66825
children bfabe25c21ff
rev   line source
pascal@1953 1 # SliTaz package receipt.
pascal@1953 2
pascal@1953 3 PACKAGE="dnsmasq"
pascal@23835 4 VERSION="2.81"
pascal@1953 5 CATEGORY="network"
pascal@1953 6 SHORT_DESC="Lightweight, DNS forwarder and DHCP server."
pascal@1953 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@1953 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11099 10 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
pascal@1953 11 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
pascal@20475 12 CONFIG_FILES="/etc/dnsmasq.conf"
pankso@15993 13 HOST_ARCH="i486 arm"
pascal@1953 14
pascal@1953 15 # Rules to configure and make the package.
pascal@1953 16 compile_rules()
pascal@1953 17 {
pascal@1953 18 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
pankso@15993 19 make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
pankso@15993 20 mkdir -p $DESTDIR/etc &&
slaxemulator@9383 21 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
pascal@1953 22 }
pascal@1953 23
pascal@1953 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1953 25 genpkg_rules()
pascal@1953 26 {
pascal@1953 27 mkdir -p $fs/usr
samuel_trassare@14116 28 cp -a $install/usr/sbin $fs/usr
samuel_trassare@14116 29 cp -a $install/etc $fs
slaxemulator@9383 30 cp -a $stuff/* $fs
pascal@1953 31 }