wok view dnsmasq/receipt @ rev 24484

updated dislocker (0.7.1 -> 0.7.3)
author Hans-G?nter Theisgen
date Fri Feb 18 15:45:33 2022 +0100 (2022-02-18)
parents 35292b022843
children 293b75a2e1b2
line source
1 # SliTaz package receipt.
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 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_FILES="/etc/dnsmasq.conf"
13 HOST_ARCH="i486 arm"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
26 make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
27 mkdir -p $DESTDIR/etc &&
28 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/etc $fs
37 cp -a $stuff/* $fs
38 }