wok-6.x view dnsmasq/receipt @ rev 12978

Up: qemu (1.0.1) With verstil support so sta can be tested :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 02 01:58:04 2012 +0200 (2012-06-02)
parents 505eee76b73b
children 8b2d7dbca71d
line source
1 # SliTaz package receipt.
3 PACKAGE="dnsmasq"
4 VERSION="2.58"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight, DNS forwarder and DHCP server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
10 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
11 CONFIG_FILE="/etc/dnsmasq.conf"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
18 make PREFIX=/usr && make 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 $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/etc $fs
29 cp -a $stuff/* $fs
30 }