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