wok-current view dhcp6/receipt @ rev 4191
tightvnc: update BUILD_DEPENDS
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Wed Sep 23 16:02:06 2009 +0200 (2009-09-23) | 
| parents | bedf285c387c | 
| children | 7534e9548281 | 
 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 SOURCE="dhcp"
     9 TARBALL="$SOURCE-$VERSION.tar.gz"
    10 WEB_SITE="http://www.isc.org/products/DHCP/"
    11 WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL"
    12 DEPENDS="libcrypto"
    13 CONFIG_FILES="/etc/dhcpd.conf"
    14 PROVIDE="dhcp"
    16 # Rules to configure and make the package.
    17 compile_rules()
    18 {
    19 	ln -s $src $PACKAGE-$VERSION 2> /dev/null
    20 	cd $src
    21 	for i in start-without-ipv6 ; do
    22 		[ -f $i.done ] && continue
    23 		patch -p1 < ../stuff/$i.u || return 1
    24 		touch $i.done
    25 	done
    26 	./configure --prefix=/usr --infodir=/usr/share/info \
    27 	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    28 	make && make DESTDIR=$PWD/_pkg install
    29 }
    31 # Rules to gen a SliTaz package suitable for Tazpkg.
    32 genpkg_rules()
    33 {
    34 	mkdir -p $fs/usr/sbin $fs/etc
    35 	cp $_pkg/etc/dhcpd.conf $fs/etc
    36 	cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
    37 	# Package all dhcp pkgs
    38 	for i in $(cd $WOK; ls -d dhcp6-*)
    39 	do
    40 		tazwok genpkg $i
    41 	done
    42 }