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