wok-next view dhcp/receipt @ rev 2264
Sheerdns: extend wildcard scope
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 16 13:50:36 2009 +0000 (2009-02-16) |
parents | fbccc97d8c2f |
children | 1327d60074b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dhcp"
4 VERSION="4.1.0a2"
5 CATEGORY="network"
6 SHORT_DESC="Dynamic Host Configuration Protocol server."
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 CONFIG_FILES="/etc/dhcpd.conf"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/sbin $fs/etc
26 cp $_pkg/etc/dhcpd.conf $fs/etc
27 cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
28 # Package all dhcp pkgs
29 for i in $(cd $WOK; ls -d dhcp-*)
30 do
31 tazwok genpkg $i
32 done
33 }