wok view dnsmasq/receipt @ rev 14595
libxcb: have no version 1.9.1
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 18:54:02 2013 +0000 (2013-05-27) |
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 }