prometheus-node-exporter-lua: add dawn exporter
[feed/packages.git] / net / https-dns-proxy / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=https-dns-proxy
4 PKG_VERSION:=2020-04-09
5 PKG_RELEASE=2
6
7 PKG_SOURCE_PROTO:=git
8 PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy
9 PKG_SOURCE_DATE:=2020-04-09
10 PKG_SOURCE_VERSION:=40647ce94c62a47e9d53efae8018fb3142e277b9
11 PKG_MIRROR_HASH:=4a8052b8bd482a17b769bcd4ee2620368f8c91955c5e976088be8d2ab002dde6
12 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
13 PKG_LICENSE:=MIT
14 PKG_LICENSE_FILES:=LICENSE
15
16 include $(INCLUDE_DIR)/package.mk
17 include $(INCLUDE_DIR)/cmake.mk
18
19 CMAKE_OPTIONS += -DCLANG_TIDY_EXE=
20
21 define Package/https-dns-proxy
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=DNS Over HTTPS Proxy
25 DEPENDS:=+libcares +libcurl +libev +ca-bundle
26 CONFLICTS:=https_dns_proxy
27 endef
28
29 define Package/https-dns-proxy/conffiles
30 /etc/config/https-dns-proxy
31 endef
32
33 define Package/https-dns-proxy/install
34 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/https-dns-proxy
36 $(INSTALL_BIN) ./files/https-dns-proxy.init $(1)/etc/init.d/https-dns-proxy
37 $(INSTALL_CONF) ./files/https-dns-proxy.config $(1)/etc/config/https-dns-proxy
38 endef
39
40 $(eval $(call BuildPackage,https-dns-proxy))