Browse Source

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>
lilik-openwrt-22.03
Rafał Miłecki 6 years ago
committed by John Crispin
parent
commit
6787f5c6a0
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      utils/zoneinfo/Makefile

+ 19
- 0
utils/zoneinfo/Makefile View File

@ -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))

Loading…
Cancel
Save