wok-next diff dnsmasq/receipt @ rev 2579
xchat: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 07 10:01:10 2009 +0000 (2009-04-07) |
parents | |
children | 275ea349dcb0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dnsmasq/receipt Tue Apr 07 10:01:10 2009 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dnsmasq" 1.7 +VERSION="2.46" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Lightweight, DNS forwarder and DHCP server." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.thekelleys.org.uk/$PACKAGE/doc.html" 1.13 +WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL" 1.14 +CONFIG_FILE="/etc/dnsmasq.conf" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile 1.21 + make PREFIX=/usr && make DESTDIR=$PWD/_pkg install 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $_pkg/usr/sbin $fs/usr 1.29 +} 1.30 +