wok-current annotate dhcp6/receipt @ rev 4501
Add gmpc, gmpc-dev (lightweight, powerful MPD client)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Nov 20 15:32:34 2009 +0000 (2009-11-20) |
parents | bedf285c387c |
children | 7534e9548281 |
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@3350 | 34 mkdir -p $fs/usr/sbin $fs/etc |
pascal@3350 | 35 cp $_pkg/etc/dhcpd.conf $fs/etc |
pascal@3350 | 36 cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin |
pascal@3350 | 37 # Package all dhcp pkgs |
pascal@3355 | 38 for i in $(cd $WOK; ls -d dhcp6-*) |
pascal@3350 | 39 do |
pascal@3350 | 40 tazwok genpkg $i |
pascal@3350 | 41 done |
pascal@3350 | 42 } |
pascal@3350 | 43 |