Makefile (983B)
1 include $(TOPDIR)/rules.mk 2 3 PKG_NAME:=https_dns_proxy 4 PKG_VERSION:=2017-01-07 5 PKG_RELEASE=2 6 7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 8 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 9 PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/ 10 PKG_SOURCE_PROTO:=git 11 PKG_SOURCE_VERSION:=c62ce3f6807a4067230a8bc5ea5a829f532de785 12 PKG_MAINTAINER:=Aaron Drew <aarond10@gmail.com> 13 PKG_LICENSE:=MIT 14 15 include $(INCLUDE_DIR)/package.mk 16 include $(INCLUDE_DIR)/cmake.mk 17 18 define Package/https_dns_proxy 19 SECTION:=net 20 CATEGORY:=Network 21 TITLE:=DNS over HTTPS proxy server 22 DEPENDS:=+libcares +libcurl +libev 23 endef 24 25 define Package/https_dns_proxy/install 26 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config 27 $(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/ 28 $(INSTALL_BIN) ./files/https_dns_proxy.init $(1)/etc/init.d/https_dns_proxy 29 $(INSTALL_CONF) ./files/https_dns_proxy.config $(1)/etc/config/https_dns_proxy 30 endef 31 32 $(eval $(call BuildPackage,https_dns_proxy))