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