wok-current annotate dnsmasq/receipt @ rev 15324

Up tcpdump (4.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 21:57:38 2013 +0000 (2013-09-27)
parents 8dfbb2202f36
children ec99b29b30f0
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@15000 8 LICENSE="GPL2"
pascal@1953 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11099 10 WEB_SITE="http://www.thekelleys.org.uk/dnsmasq/doc.html"
pascal@1953 11 WGET_URL="http://www.thekelleys.org.uk/$PACKAGE/$TARBALL"
pascal@1953 12 CONFIG_FILE="/etc/dnsmasq.conf"
pascal@1953 13
pascal@1953 14 # Rules to configure and make the package.
pascal@1953 15 compile_rules()
pascal@1953 16 {
pascal@1953 17 sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
pascal@14117 18 make PREFIX=/usr && make DESTDIR=$DESTDIR install
slaxemulator@9383 19 mkdir -p $DESTDIR/etc
slaxemulator@9383 20 cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
pascal@1953 21 }
pascal@1953 22
pascal@1953 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1953 24 genpkg_rules()
pascal@1953 25 {
pascal@1953 26 mkdir -p $fs/usr
samuel_trassare@14116 27 cp -a $install/usr/sbin $fs/usr
samuel_trassare@14116 28 cp -a $install/etc $fs
slaxemulator@9383 29 cp -a $stuff/* $fs
pascal@1953 30 }
pascal@1953 31