blob: e092ce88acde7bb3868f4c7893387658448654f8 (
plain)
1 # $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $
2 # Description: ISC's DHCP server, client and relay agent.
3 # URL: http://www.isc.org/sw/dhcp/
4 # Maintainer: James Mills prologic at shortcircuit dot net dot au
5 # Packager: Mark Rosenstand, mark at borkware dot net
6 # Depends on:
7
8 name=dhcp
9 version=3.0.4
10 release=1
11 source=(http://ftp.isc.org/isc/dhcp/dhcp-$version.tar.gz \
12 dhcpd default-config.diff)
13
14 build() {
15 cd dhcp-$version
16 patch -p1 -i $SRC/default-config.diff
17 ./configure
18 make && make DESTDIR=$PKG INCDIR=/usr/include LIBDIR=/usr/lib install
19 install -m644 client/dhclient.conf server/dhcpd.conf -t $PKG/etc
20 install -D ../dhcpd $PKG/etc/rc.d/dhcpd
21 find $PKG/usr/man -type f -exec chmod 644 {} \;
22 chown -R root:root $PKG
23 }
|