wok-6.x view tzdata/receipt @ rev 21946
updated speex and speex-dev (1.2rc1 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 08 15:37:59 2019 +0100 (2019-10-08) |
parents | 50333240ef8e |
children | 2fb468a8fde8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tzdata"
4 VERSION="2016j"
5 CATEGORY="base-system"
6 SHORT_DESC="Time Zone Database"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://www.iana.org/time-zones"
10 TARBALL="$PACKAGE$VERSION.tar.gz"
11 WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc"
15 # genpkg_rules expect some locale-* build tree
16 BUILD_DEPENDS="glibc-dev locale-fr"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ZONEINFO=$install/usr/share/zoneinfo
22 mkdir -p $ZONEINFO/posix $ZONEINFO/right
24 tzs="etcetera southamerica northamerica europe africa antarctica asia \
25 australasia backward pacificnew systemv"
26 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
27 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
28 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
30 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
31 zic -d $ZONEINFO -p America/New_York
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
39 . $WOK/slitaz-i18n/stuff/locale-pack.conf
40 for locale in $LOCALE_PACK; do
41 [ -d "$WOK/locale-$locale" ] || continue
42 echo "* Removing files provided by locale-$locale..."
43 files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
44 grep /usr/share/zoneinfo/)
45 for file in $files; do
46 [ -e $fs/$file ] && rm -f $fs$file
47 done
48 done
49 }