# This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory include $(TOPDIR)/rules.mk PKG_NAME:= dnsmasq PKG_VERSION:= 2.91 PKG_RELEASE:= 1 PKG_MD5SUM:= 66e227a971ec29299f18274251440571 PKG_INIT:= 50 PKG_SOURCE_URL:= https://thekelleys.org.uk/dnsmasq include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,DNSMASQ,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.built: $(MAKE) -C $(WRKBUILD) \ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \ BINDIR=/usr/sbin MANDIR=/usr/man touch $@ $(IPKG_DNSMASQ): $(INSTALL_DIR) $(IDIR_DNSMASQ)/usr/sbin $(INSTALL_DIR) $(IDIR_DNSMASQ)/etc/init.d $(INSTALL_BIN) $(WRKBUILD)/src/$(PKG_NAME) $(IDIR_DNSMASQ)/usr/sbin/ $(INSTALL_DATA) ./files/dnsmasq.conf $(IDIR_DNSMASQ)/etc/dnsmasq.conf $(INSTALL_BIN) ./files/dnsmasq.init \ $(IDIR_DNSMASQ)/etc/init.d/S$(PKG_INIT)dnsmasq $(RSTRIP) $(IDIR_DNSMASQ) $(IPKG_BUILD) $(IDIR_DNSMASQ) $(PACKAGE_DIR)