wok-6.x diff dhcp6/receipt @ rev 3350
Add dhcp6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 11 17:11:41 2009 +0200 (2009-06-11) |
parents | |
children | 6be2ea2b6046 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dhcp6/receipt Thu Jun 11 17:11:41 2009 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dhcp6" 1.7 +VERSION="4.1.1b1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support." 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 +DEPENDS="libcrypto" 1.15 +CONFIG_FILES="/etc/dhcpd.conf" 1.16 +PROVIDE="dhcp" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + for i in start-without-ipv6 ; do 1.23 + [ -f $i.done ] && continue 1.24 + patch -p1 < ../stuff/$i.u || return 1 1.25 + touch $i.done 1.26 + done 1.27 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.28 + --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \ 1.29 + make && make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/sbin $fs/etc 1.36 + cp $_pkg/etc/dhcpd.conf $fs/etc 1.37 + cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin 1.38 + # Package all dhcp pkgs 1.39 + for i in $(cd $WOK; ls -d dhcp-*) 1.40 + do 1.41 + tazwok genpkg $i 1.42 + done 1.43 +} 1.44 +