You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
984 B

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