wok-next view tzdata/receipt @ rev 16474

jpeg: add libs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 22 07:28:32 2014 +0000 (2014-04-22)
parents 70d83a62ab50
children a402394a4e62
line source
1 # SliTaz package receipt.
3 PACKAGE="tzdata"
4 VERSION="2014b"
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 }