- cd $(DIR_APP) && ./configure
- cd $(DIR_APP) && make $(MAKETUNING)
- cd $(DIR_APP) && make LIBDIR=/usr/lib INCDIR=/usr/include install
+
+ # Help unpacking bundled BIND
+ cd $(DIR_APP) && sed -e "s/gunzip -c/&d/" -i bind/Makefile.in
+
+ cd $(DIR_APP) && \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/dhcp \
+ --with-srv-conf-file=/etc/dhcp/dhcpd.conf \
+ --with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
+ --enable-paranoia \
+ --enable-early-chroot \
+ --disable-dhcpv6
+
+ cd $(DIR_APP) && make #This package does not support parallel build
+ cd $(DIR_APP) && make install
+
+ mkdir -pv /var/state/dhcp