aboutsummaryrefslogtreecommitdiff
path: root/utils/zoneinfo
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-08-30 21:14:37 +0200
committerJohn Crispin <john@phrozen.org>2018-09-10 09:01:01 +0200
commit6787f5c6a0e5eff50a41996a5b63941c8cd2aad7 (patch)
treea6a8ed6eb0b3875e53489a5354643e422f20ca56 /utils/zoneinfo
parent134e8bb18dca077990f88e9b75acaae4e20a2c11 (diff)
zoneinfo: add zoneinfo-all meta package installing all zones info
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@milecki.pl>
Diffstat (limited to 'utils/zoneinfo')
-rw-r--r--utils/zoneinfo/Makefile19
1 files changed, 19 insertions, 0 deletions
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))