wok rev 22065

updated tzdata (2016j -> 2019c)
author Hans-G?nter Theisgen
date Thu Oct 24 17:28:45 2019 +0100 (2019-10-24)
parents c599e279dd2d
children 643835a7d5a1
files tzdata/receipt
line diff
     1.1 --- a/tzdata/receipt	Thu Oct 24 17:19:52 2019 +0100
     1.2 +++ b/tzdata/receipt	Thu Oct 24 17:28:45 2019 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tzdata"
     1.7 -VERSION="2016j"
     1.8 +VERSION="2019c"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Time Zone Database"
    1.11 +SHORT_DESC="Time Zone Database."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="PublicDomain"
    1.14 -WEB_SITE="http://www.iana.org/time-zones"
    1.15 +WEB_SITE="https://www.iana.org/time-zones"
    1.16 +
    1.17  TARBALL="$PACKAGE$VERSION.tar.gz"
    1.18  WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  DEPENDS="glibc"
    1.22  # genpkg_rules expect some locale-* build tree
    1.23  BUILD_DEPENDS="glibc-dev locale-fr"
    1.24  
    1.25 +HOST_ARCH="i486 arm"
    1.26 +
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	ZONEINFO=$install/usr/share/zoneinfo
    1.31 -	mkdir -p $ZONEINFO/posix $ZONEINFO/right
    1.32 +	mkdir -p $ZONEINFO/posix
    1.33 +	mkdir -p $ZONEINFO/right
    1.34  
    1.35  	tzs="etcetera southamerica northamerica europe africa antarctica asia \
    1.36  australasia backward pacificnew systemv"
    1.37 @@ -37,13 +40,15 @@
    1.38  	cp -a $install/* $fs
    1.39  
    1.40  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.41 -	for locale in $LOCALE_PACK; do
    1.42 +	for locale in $LOCALE_PACK
    1.43 +	  do
    1.44  		[ -d "$WOK/locale-$locale" ] || continue
    1.45  		echo "* Removing files provided by locale-$locale..."
    1.46  		files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
    1.47  				grep /usr/share/zoneinfo/)
    1.48 -		for file in $files; do
    1.49 +		for file in $files
    1.50 +		  do
    1.51  			[ -e $fs/$file ] && rm -f $fs$file
    1.52 -		done
    1.53 -	done
    1.54 +		  done
    1.55 +	  done
    1.56  }