include $(TOPDIR)/rules.mk LUCI_TITLE:=SecuBox DNS Guard - Privacy DNS Manager LUCI_DEPENDS:=+luci-base LUCI_PKGARCH:=all PKG_NAME:=luci-secubox-dnsguard PKG_VERSION:=1.0.0 PKG_RELEASE:=1 PKG_MAINTAINER:=CyberMind include $(TOPDIR)/feeds/luci/luci.mk define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/libexec/rpcd $(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.dnsguard $(1)/usr/libexec/rpcd/ $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d $(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-secubox-dnsguard.json $(1)/usr/share/rpcd/acl.d/ $(INSTALL_DIR) $(1)/usr/share/luci/menu.d $(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-secubox-dnsguard.json $(1)/usr/share/luci/menu.d/ $(INSTALL_DIR) $(1)/www/luci-static/resources/view/dnsguard $(INSTALL_DATA) ./htdocs/luci-static/resources/view/dnsguard/*.js $(1)/www/luci-static/resources/view/dnsguard/ endef $(eval $(call BuildPackage,$(PKG_NAME)))