wok annotate dnsmasq/receipt @ rev 4491
add webcam view to mplayer-svn conf options (no size increase)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Nov 18 12:59:16 2009 +0000 (2009-11-18) |
parents | b7e5667bff37 |
children | cf094c35430b |
rev | line source |
---|---|
pascal@1953 | 1 # SliTaz package receipt. |
pascal@1953 | 2 |
pascal@1953 | 3 PACKAGE="dnsmasq" |
pascal@4359 | 4 VERSION="2.50" |
pascal@1953 | 5 CATEGORY="network" |
pascal@1953 | 6 SHORT_DESC="Lightweight, DNS forwarder and DHCP server." |
pascal@1953 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1953 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1953 | 9 WEB_SITE="http://www.thekelleys.org.uk/$PACKAGE/doc.html" |
pascal@1953 | 10 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL" |
pascal@1953 | 11 CONFIG_FILE="/etc/dnsmasq.conf" |
pascal@1953 | 12 |
pascal@1953 | 13 # Rules to configure and make the package. |
pascal@1953 | 14 compile_rules() |
pascal@1953 | 15 { |
pascal@1953 | 16 cd $src |
pascal@1953 | 17 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile |
pascal@1953 | 18 make PREFIX=/usr && make DESTDIR=$PWD/_pkg install |
pascal@1953 | 19 } |
pascal@1953 | 20 |
pascal@1953 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1953 | 22 genpkg_rules() |
pascal@1953 | 23 { |
pascal@1953 | 24 mkdir -p $fs/usr |
pascal@1953 | 25 cp -a $_pkg/usr/sbin $fs/usr |
pascal@3885 | 26 cp -a stuff/* $fs |
pascal@1953 | 27 } |
pascal@1953 | 28 |