stubby: rearrange Makefile for clarity
authorTony Ambardar <redacted>
Tue, 7 Aug 2018 09:03:08 +0000 (02:03 -0700)
committerguidosarducci <redacted>
Mon, 24 Sep 2018 04:55:03 +0000 (21:55 -0700)
Signed-off-by: Tony Ambardar <redacted>
net/stubby/Makefile

index 3f3df9c1247c802033a619fc06b435a6ce564d67..6ff93162d86d1a5cf4748f18f6e2a1d303683314 100644 (file)
@@ -29,12 +29,6 @@ define Package/stubby/Default
        URL:=https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby
 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
        $(call Package/stubby/Default)
        SECTION:=net
@@ -45,6 +39,16 @@ define Package/stubby
        DEPENDS:= +libyaml +getdns +ca-certificates
 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
        $(INSTALL_DIR) $(1)/usr/sbin
        $(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
 endef
 
-
-define Package/stubby/conffiles
-       /etc/stubby/stubby.yml
-endef
-
 $(eval $(call BuildPackage,stubby))
git clone https://git.99rst.org/PROJECT