# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include ${TOPDIR}/rules.mk PKG_NAME:= dnsmasq PKG_VERSION:= 2.52 PKG_RELEASE:= 1 PKG_MD5SUM:= 1bb32fffdb4f977ead607802b5d701d0 MASTER_SITES:= http://thekelleys.org.uk/dnsmasq/ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) BUILD_STYLE:= auto fwwif INSTALL_STYLE= manual fwwif MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man do-install: ${INSTALL_DIR} ${IDIR_DNSMASQ}/{etc/init.d,usr/sbin} ${INSTALL_BIN} ${WRKBUILD}/src/dnsmasq ${IDIR_DNSMASQ}/usr/sbin/ ${INSTALL_DATA} files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf ${INSTALL_BIN} files/dnsmasq.init ${IDIR_DNSMASQ}/etc/init.d/dnsmasq ifneq ($(strip ${FWRT_PACKAGE_FWWIF}),) post-install: ${INSTALL_DATA} fwwif/dnsmasq.sh ${IDIR_DNSMASQ}/usr/lib/fwwif/ endif include ${TOPDIR}/mk/pkg-bottom.mk