stubby: rearrange Makefile for clarity
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
This commit is contained in:
parent
a3a73ef7bc
commit
d3b090a311
1 changed files with 10 additions and 11 deletions
|
@ -29,12 +29,6 @@ define Package/stubby/Default
|
||||||
URL:=https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby
|
URL:=https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/stubby/description
|
|
||||||
This package contains the Stubby daemon (which utilizes the getdns library).
|
|
||||||
|
|
||||||
See https://github.com/openwrt/packages/blob/master/net/stubby/files/README.md for more details.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/stubby
|
define Package/stubby
|
||||||
$(call Package/stubby/Default)
|
$(call Package/stubby/Default)
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
|
@ -45,6 +39,16 @@ define Package/stubby
|
||||||
DEPENDS:= +libyaml +getdns +ca-certificates
|
DEPENDS:= +libyaml +getdns +ca-certificates
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/stubby/description
|
||||||
|
This package contains the Stubby daemon (which utilizes the getdns library).
|
||||||
|
|
||||||
|
See https://github.com/openwrt/packages/blob/master/net/stubby/files/README.md for more details.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/stubby/conffiles
|
||||||
|
/etc/stubby/stubby.yml
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/stubby/install
|
define Package/stubby/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby
|
||||||
|
@ -55,9 +59,4 @@ define Package/stubby/install
|
||||||
$(INSTALL_DATA) ./files/stubby.yml $(1)/etc/stubby/stubby.yml
|
$(INSTALL_DATA) ./files/stubby.yml $(1)/etc/stubby/stubby.yml
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/stubby/conffiles
|
|
||||||
/etc/stubby/stubby.yml
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,stubby))
|
$(eval $(call BuildPackage,stubby))
|
||||||
|
|
Loading…
Reference in a new issue