wok annotate 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
rev   line source
pascal@3350 1 # SliTaz package receipt.
pascal@3350 2
pascal@3350 3 PACKAGE="dhcp6"
pascal@3350 4 VERSION="4.1.1b1"
pascal@3350 5 CATEGORY="network"
pascal@3350 6 SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support."
pascal@3350 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3350 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3350 9 WEB_SITE="http://www.isc.org/products/DHCP/"
pascal@3350 10 WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$TARBALL"
pascal@3350 11 DEPENDS="libcrypto"
pascal@3350 12 CONFIG_FILES="/etc/dhcpd.conf"
pascal@3350 13 PROVIDE="dhcp"
pascal@3350 14
pascal@3350 15 # Rules to configure and make the package.
pascal@3350 16 compile_rules()
pascal@3350 17 {
pascal@3350 18 cd $src
pascal@3350 19 for i in start-without-ipv6 ; do
pascal@3350 20 [ -f $i.done ] && continue
pascal@3350 21 patch -p1 < ../stuff/$i.u || return 1
pascal@3350 22 touch $i.done
pascal@3350 23 done
pascal@3350 24 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@3350 25 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@3350 26 make && make DESTDIR=$PWD/_pkg install
pascal@3350 27 }
pascal@3350 28
pascal@3350 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3350 30 genpkg_rules()
pascal@3350 31 {
pascal@3350 32 mkdir -p $fs/usr/sbin $fs/etc
pascal@3350 33 cp $_pkg/etc/dhcpd.conf $fs/etc
pascal@3350 34 cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
pascal@3350 35 # Package all dhcp pkgs
pascal@3350 36 for i in $(cd $WOK; ls -d dhcp-*)
pascal@3350 37 do
pascal@3350 38 tazwok genpkg $i
pascal@3350 39 done
pascal@3350 40 }
pascal@3350 41