wok-current view dnsmasq/receipt @ rev 6083
Up: libedit, libedit-dev (20100424-3.0)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 11:28:56 2010 +0200 (2010-08-29) |
parents | 0d5e57e5056b |
children | 38ef318cae5a |
line source
1 # SliTaz package receipt.
3 PACKAGE="dnsmasq"
4 VERSION="2.51"
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/$PACKAGE/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 DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/sbin $fs/usr
26 cp -a stuff/* $fs
27 }