wok annotate tzdata/receipt @ rev 18662

Add python-opengl-accelerate
author Yuri Pourre <yuripourre@gmail.com>
date Thu Dec 03 15:56:36 2015 -0200 (2015-12-03)
parents cf37d3c0b711
children 91b74be21e59
rev   line source
al@16463 1 # SliTaz package receipt.
al@16463 2
al@16463 3 PACKAGE="tzdata"
al@18463 4 VERSION="2015g"
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@16463 9 WEB_SITE="http://www.iana.org/time-zones"
al@16463 10 TARBALL="$PACKAGE$VERSION.tar.gz"
al@16463 11 WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
al@17402 12 HOST_ARCH="i486 arm"
al@17402 13
al@16463 14 DEPENDS="glibc"
pascal@17718 15 # genpkg_rules expect some locale-* build tree
pascal@17718 16 BUILD_DEPENDS="glibc-dev locale-fr"
al@16463 17
al@16463 18 # Rules to configure and make the package.
al@16463 19 compile_rules()
al@16463 20 {
al@16463 21 ZONEINFO=$install/usr/share/zoneinfo
al@16463 22 mkdir -p $ZONEINFO/posix $ZONEINFO/right
al@16463 23
al@16463 24 tzs="etcetera southamerica northamerica europe africa antarctica asia \
al@16464 25 australasia backward pacificnew systemv"
al@16463 26 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" $tzs
al@16463 27 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" $tzs
al@16463 28 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" $tzs
al@16463 29
al@16997 30 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
al@16463 31 zic -d $ZONEINFO -p America/New_York
al@16463 32 }
al@16463 33
al@16463 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16463 35 genpkg_rules()
al@16463 36 {
al@16463 37 cp -a $install/* $fs
al@16463 38
al@16463 39 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@16463 40 for locale in $LOCALE_PACK; do
al@16463 41 echo "* Removing files provided by locale-$locale..."
al@16463 42 files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
al@16463 43 grep /usr/share/zoneinfo/)
al@16463 44 for file in $files; do
al@16463 45 [ -e $fs/$file ] && rm -f $fs$file
al@16463 46 done
al@16463 47 done
al@16463 48 }