wok-current annotate dhcp/receipt @ rev 1501
Up dhcp (4.1.0a2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 13:24:16 2008 +0000 (2008-10-05) |
parents | fbccc97d8c2f |
children | 1327d60074b2 |
rev | line source |
---|---|
pascal@1338 | 1 # SliTaz package receipt. |
pascal@1338 | 2 |
pascal@1338 | 3 PACKAGE="dhcp" |
pascal@1501 | 4 VERSION="4.1.0a2" |
pascal@1338 | 5 CATEGORY="network" |
pascal@1338 | 6 SHORT_DESC="Dynamic Host Configuration Protocol server." |
pascal@1338 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1338 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1338 | 9 WEB_SITE="http://www.isc.org/products/DHCP/" |
pascal@1338 | 10 WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$TARBALL" |
pascal@1338 | 11 CONFIG_FILES="/etc/dhcpd.conf" |
pascal@1338 | 12 |
pascal@1338 | 13 # Rules to configure and make the package. |
pascal@1338 | 14 compile_rules() |
pascal@1338 | 15 { |
pascal@1338 | 16 cd $src |
pascal@1338 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1338 | 18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@1338 | 19 make && make DESTDIR=$PWD/_pkg install |
pascal@1338 | 20 } |
pascal@1338 | 21 |
pascal@1338 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1338 | 23 genpkg_rules() |
pascal@1338 | 24 { |
pascal@1338 | 25 mkdir -p $fs/usr/sbin $fs/etc |
pascal@1338 | 26 cp $_pkg/etc/dhcpd.conf $fs/etc |
pascal@1338 | 27 cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin |
pascal@1338 | 28 # Package all dhcp pkgs |
pascal@1338 | 29 for i in $(cd $WOK; ls -d dhcp-*) |
pascal@1338 | 30 do |
pascal@1338 | 31 tazwok genpkg $i |
pascal@1338 | 32 done |
pascal@1338 | 33 } |
pascal@1338 | 34 |