wok-next view tzdata/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | f2fe8c08dc89 |
children | eb23a9b0f828 |
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="https://www.iana.org/time-zones"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
15 DEPENDS="glibc"
16 # genpkg_rules expect some locale-* build tree
17 BUILD_DEPENDS="glibc-dev locale-fr"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ZONEINFO=$install/usr/share/zoneinfo
23 mkdir -p $ZONEINFO/posix $ZONEINFO/right
25 tzs="etcetera southamerica northamerica europe africa antarctica asia \
26 australasia backward pacificnew systemv"
27 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
28 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
29 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
31 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
32 zic -d $ZONEINFO -p America/New_York
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
40 . $WOK/slitaz-i18n/stuff/locale-pack.conf
41 for locale in $LOCALE_PACK; do
42 [ -d "$WOK/locale-$locale" ] || continue
43 echo "* Removing files provided by locale-$locale..."
44 files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
45 grep /usr/share/zoneinfo/)
46 for file in $files; do
47 [ -e $fs/$file ] && rm -f $fs$file
48 done
49 done
50 }