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

Generated by cgit