wok-6.x view tzdata/receipt @ rev 16884
Rollback gobject-introspection gobject-introspection-dev (1.34.2)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 15:40:48 2014 -0300 (2014-07-13) |
parents | ba5bfceaee49 |
children | 5de6ded3cc84 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tzdata"
4 VERSION="2014e"
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"
13 DEPENDS="glibc"
14 BUILD_DEPENDS="glibc-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ZONEINFO=$install/usr/share/zoneinfo
20 mkdir -p $ZONEINFO/posix $ZONEINFO/right
22 tzs="etcetera southamerica northamerica europe africa antarctica asia \
23 australasia backward pacificnew systemv"
24 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
25 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
26 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
28 cp -a $src/zone.tab $src/iso3166.tab $ZONEINFO
29 zic -d $ZONEINFO -p America/New_York
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
37 . $WOK/slitaz-i18n/stuff/locale-pack.conf
38 for locale in $LOCALE_PACK; do
39 echo "* Removing files provided by locale-$locale..."
40 files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
41 grep /usr/share/zoneinfo/)
42 for file in $files; do
43 [ -e $fs/$file ] && rm -f $fs$file
44 done
45 done
46 }