wok diff dhcp/receipt @ rev 1488

imlib2: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 10:55:02 2008 +0000 (2008-10-05)
parents
children 0fe91a193391
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dhcp/receipt	Sun Oct 05 10:55:02 2008 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dhcp"
     1.7 +VERSION="4.1.0a1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Dynamic Host Configuration Protocol server."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.isc.org/products/DHCP/"
    1.13 +WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$TARBALL"
    1.14 +CONFIG_FILES="/etc/dhcpd.conf"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 +	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.22 +	make && make DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/sbin $fs/etc
    1.29 +	cp $_pkg/etc/dhcpd.conf $fs/etc
    1.30 +	cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
    1.31 +	# Package all dhcp pkgs
    1.32 +	for i in $(cd $WOK; ls -d dhcp-*)
    1.33 +	do
    1.34 +		tazwok genpkg $i
    1.35 +	done
    1.36 +}
    1.37 +