wok-6.x annotate dnsmasq/receipt @ rev 14962

Up: firefox-dev (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:19:40 2013 +0200 (2013-08-08)
parents 8b2d7dbca71d
children 380ffe05937a
rev   line source
pascal@1953 1 # SliTaz package receipt.
pascal@1953 2
pascal@1953 3 PACKAGE="dnsmasq"
samuel_trassare@14116 4 VERSION="2.65"
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"
slaxemulator@11099 9 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/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 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
pascal@14117 17 make PREFIX=/usr && make DESTDIR=$DESTDIR install
slaxemulator@9383 18 mkdir -p $DESTDIR/etc
slaxemulator@9383 19 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
pascal@1953 20 }
pascal@1953 21
pascal@1953 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1953 23 genpkg_rules()
pascal@1953 24 {
pascal@1953 25 mkdir -p $fs/usr
samuel_trassare@14116 26 cp -a $install/usr/sbin $fs/usr
samuel_trassare@14116 27 cp -a $install/etc $fs
slaxemulator@9383 28 cp -a $stuff/* $fs
pascal@1953 29 }
pascal@1953 30