[OpenWrt-Devel] [PATCH packages] zoneinfo: add zoneinfo-all meta package installing all zones info
Vlad Ulrich
admin at evl.su
Thu Aug 30 15:41:42 EDT 2018
Open new issue at https://github.com/openwrt/packages/issues
I think this feature should be discussed.
чт, 30 авг. 2018 г. в 22:14, Rafał Miłecki <zajec5 at gmail.com>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180830/f81585a0/attachment.htm>
-------------- next part --------------
_______________________________________________
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