wok view tzdata/receipt @ rev 17454
syslinux/iso2exe: create a vfat partition in usb bootkey (DOS case only)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 18 11:42:27 2014 +0100 (2014-12-18) |
parents | 8c0bb1fa7d90 |
children | 6210409633ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="tzdata"
4 VERSION="2014i"
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 BUILD_DEPENDS="glibc-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ZONEINFO=$install/usr/share/zoneinfo
21 mkdir -p $ZONEINFO/posix $ZONEINFO/right
23 tzs="etcetera southamerica northamerica europe africa antarctica asia \
24 australasia backward pacificnew systemv"
25 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
26 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
27 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
29 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
30 zic -d $ZONEINFO -p America/New_York
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
38 . $WOK/slitaz-i18n/stuff/locale-pack.conf
39 for locale in $LOCALE_PACK; do
40 echo "* Removing files provided by locale-$locale..."
41 files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
42 grep /usr/share/zoneinfo/)
43 for file in $files; do
44 [ -e $fs/$file ] && rm -f $fs$file
45 done
46 done
47 }