wok-next annotate tzdata/receipt @ rev 20334

Remove linux-uml & lxpanel-plugin-multiload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 16:28:30 2017 +0100 (2017-11-16)
parents 2e60fe1db5a4
children 0e7893ac206d
rev   line source
al@19759 1 # SliTaz package receipt v2.
al@16463 2
al@16463 3 PACKAGE="tzdata"
al@20208 4 VERSION="2017c"
al@16463 5 CATEGORY="base-system"
al@16463 6 SHORT_DESC="Time Zone Database"
al@16463 7 MAINTAINER="al.bobylev@gmail.com"
al@16463 8 LICENSE="PublicDomain"
al@19589 9 WEB_SITE="https://www.iana.org/time-zones"
al@19589 10 HOST_ARCH="i486 arm"
al@19589 11
al@16463 12 TARBALL="$PACKAGE$VERSION.tar.gz"
al@16463 13 WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
al@17402 14
al@19759 15 BUILD_DEPENDS="glibc-dev"
al@16463 16
al@16463 17 # Rules to configure and make the package.
al@16463 18 compile_rules()
al@16463 19 {
al@16463 20 ZONEINFO=$install/usr/share/zoneinfo
al@16463 21 mkdir -p $ZONEINFO/posix $ZONEINFO/right
al@16463 22
al@16463 23 tzs="etcetera southamerica northamerica europe africa antarctica asia \
al@16464 24 australasia backward pacificnew systemv"
al@18862 25 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
al@18862 26 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
al@18862 27 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
al@16463 28
al@16997 29 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
al@16463 30 zic -d $ZONEINFO -p America/New_York
al@19759 31
al@20210 32 cook_pick_docs CONTRIBUTING LICENSE NEWS README theory.html
al@16463 33 }
al@16463 34
al@16463 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16463 36 genpkg_rules()
al@16463 37 {
al@19759 38 copy @std
al@16463 39
al@16463 40 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@19759 41 i18n_ver=$(. $WOK/slitaz-i18n/receipt; echo $VERSION)
al@16463 42 for locale in $LOCALE_PACK; do
al@19759 43 [ -d "$WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver" ] || continue
al@16463 44 echo "* Removing files provided by locale-$locale..."
al@19759 45 files=$(cat $WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver/files.list | \
al@16463 46 grep /usr/share/zoneinfo/)
al@16463 47 for file in $files; do
al@16463 48 [ -e $fs/$file ] && rm -f $fs$file
al@16463 49 done
al@16463 50 done
al@19759 51 DEPENDS="glibc"
al@16463 52 }