wok-next view dnsmasq/receipt @ rev 20017
Add speexdsp, up speex, pulseaudio & pavucontrol.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 03:28:23 2017 +0300 (2017-10-22) |
parents | ec99b29b30f0 |
children | c4e53a39395a |
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"
13 HOST_ARCH="i486 arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
19 make PREFIX=/usr && make DESTDIR=$DESTDIR install &&
20 mkdir -p $DESTDIR/etc &&
21 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 cp -a $install/etc $fs
30 cp -a $stuff/* $fs
31 }