wok-stable view dhcp/receipt @ rev 4308
Up: ewl (rev 42530) and rage (fix both build with last emotion)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 28 15:33:14 2009 +0200 (2009-09-28) |
parents | 7dbe1d832560 |
children | 7534e9548281 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dhcp"
4 VERSION="4.1.1b1"
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 DEPENDS="libcrypto"
12 CONFIG_FILES="/etc/dhcpd.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --disable-dhcpv6 \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/sbin $fs/etc
28 cp $_pkg/etc/dhcpd.conf $fs/etc
29 cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
30 # Package all dhcp pkgs
31 for i in $(cd $WOK; ls -d dhcp-*)
32 do
33 tazwok genpkg $i
34 done
35 }