[OpenWrt-Devel] [PATCH packages] zoneinfo: add zoneinfo-all meta package installing all zones info
Rafał Miłecki
zajec5 at gmail.com
Thu Aug 30 15:14:37 EDT 2018
From: Rafał Miłecki <rafal at milecki.pl>
It makes users life a bit easier by allowing them to get info for all
zones by installing a single package.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
Hi Vladimir,
would you care to review/pick this e-mail submitted patch?
---
utils/zoneinfo/Makefile | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/utils/zoneinfo/Makefile b/utils/zoneinfo/Makefile
index c358ea56f..5734159dd 100644
--- a/utils/zoneinfo/Makefile
+++ b/utils/zoneinfo/Makefile
@@ -100,6 +100,24 @@ $(call Package/zoneinfo/Default)
TITLE:=Zone Information (India)
endef
+define Package/zoneinfo-all
+$(call Package/zoneinfo/Default)
+ TITLE:=Zone Information (all zones)
+ DEPENDS:= \
+ +zoneinfo-simple \
+ +zoneinfo-core \
+ +zoneinfo-africa \
+ +zoneinfo-northamerica \
+ +zoneinfo-southamerica \
+ +zoneinfo-poles \
+ +zoneinfo-asia \
+ +zoneinfo-atlantic \
+ +zoneinfo-australia-nz \
+ +zoneinfo-pacific \
+ +zoneinfo-europe \
+ +zoneinfo-india
+endef
+
define Build/Prepare
(cd $(PKG_BUILD_DIR) && tar -xzf $(DL_DIR)/$(PKG_SOURCE_CODE) && tar -xzf $(DL_DIR)/$(PKG_SOURCE))
endef
@@ -240,3 +258,4 @@ $(eval $(call BuildPackage,zoneinfo-australia-nz))
$(eval $(call BuildPackage,zoneinfo-pacific))
$(eval $(call BuildPackage,zoneinfo-europe))
$(eval $(call BuildPackage,zoneinfo-india))
+$(eval $(call BuildPackage,zoneinfo-all))
--
2.13.7
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list