wok-6.x diff dnsmasq/receipt @ rev 2309

gcc: spin off libgomp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 25 12:21:35 2009 +0000 (2009-02-25)
parents
children 275ea349dcb0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dnsmasq/receipt	Wed Feb 25 12:21:35 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 +