wok-next view tzdata/receipt @ rev 20280

remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 14:41:47 2017 +0100 (2017-11-08)
parents 2e60fe1db5a4
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tzdata"
4 VERSION="2017c"
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 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
32 cook_pick_docs CONTRIBUTING LICENSE NEWS README theory.html
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 copy @std
40 . $WOK/slitaz-i18n/stuff/locale-pack.conf
41 i18n_ver=$(. $WOK/slitaz-i18n/receipt; echo $VERSION)
42 for locale in $LOCALE_PACK; do
43 [ -d "$WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver" ] || continue
44 echo "* Removing files provided by locale-$locale..."
45 files=$(cat $WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver/files.list | \
46 grep /usr/share/zoneinfo/)
47 for file in $files; do
48 [ -e $fs/$file ] && rm -f $fs$file
49 done
50 done
51 DEPENDS="glibc"
52 }