wok-6.x view dnsmasq/receipt @ rev 14164
nut: up 2.6.5
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 07 20:38:21 2013 -0800 (2013-03-07) |
parents | 8b2d7dbca71d |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="dnsmasq"
4 VERSION="2.65"
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 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
17 make PREFIX=/usr && make DESTDIR=$DESTDIR install
18 mkdir -p $DESTDIR/etc
19 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/sbin $fs/usr
27 cp -a $install/etc $fs
28 cp -a $stuff/* $fs
29 }