1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=https_dns_proxy
4 PKG_VERSION
:=2018-04-23
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
8 PKG_MIRROR_HASH
:=24b7e4238c37e646f33eee3a374f6b7beb5c167b9c5008cc13b51e5f1f3a44ea
9 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE_URL
:=https
://github.com
/aarond10
/https_dns_proxy
/
12 PKG_SOURCE_VERSION
:=bea68401330e611f6e9b75cec84e2dc4e81e52de
13 PKG_MAINTAINER
:=Aaron Drew
<aarond10@gmail.com
>
16 include $(INCLUDE_DIR
)/package.mk
17 include $(INCLUDE_DIR
)/cmake.mk
19 CMAKE_OPTIONS
+= -DCLANG_TIDY_EXE
=
21 define Package
/https_dns_proxy
24 TITLE
:=DNS over HTTPS Proxy Server
25 DEPENDS
:=+libcares
+libcurl
+libev
+ca-bundle
28 define Package
/https_dns_proxy
/install
29 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
${1}/etc
/config
30 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/https_dns_proxy
$(1)/usr
/sbin
/
31 $(INSTALL_BIN
) .
/files
/https_dns_proxy.init
$(1)/etc
/init.d
/https_dns_proxy
32 $(INSTALL_CONF
) .
/files
/https_dns_proxy.config
$(1)/etc
/config
/https_dns_proxy
35 $(eval
$(call BuildPackage
,https_dns_proxy
))