wok annotate glibc-locale/receipt @ rev 22368
graphviz: $WGET_URL depends on $VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 18:03:35 2019 +0100 (2019-11-22) |
parents | 380ffe05937a |
children |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt. |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="glibc-locale" |
pankso@12269 | 4 VERSION="2.14.1" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@2701 | 6 SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@529 | 9 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 10 |
al@18922 | 11 DEPENDS="glibc-base" |
al@18922 | 12 WANTED="glibc" |
pascal@15000 | 13 |
pankso@4855 | 14 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW" |
pankso@2701 | 15 |
pankso@529 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 17 genpkg_rules() |
pankso@529 | 18 { |
pankso@601 | 19 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
pankso@601 | 20 |
pankso@12269 | 21 cp -a $install/usr/lib/gconv $fs/usr/lib |
pankso@12269 | 22 cp -a $install/usr/share/locale $fs/usr/share |
pankso@12269 | 23 cp -a $install/usr/share/i18n $fs/usr/share |
pankso@12269 | 24 cp -a $install/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 25 |
pankso@601 | 26 # Utilities and tools |
pankso@12269 | 27 cp -a $install/usr/bin/iconv $fs/usr/bin |
pankso@12269 | 28 cp -a $install/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 29 |
pankso@601 | 30 # Rm base files. |
gokhlayeh@9253 | 31 echo -n "* Removing all base files..." |
pankso@601 | 32 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 33 do |
pankso@601 | 34 rm -f ${fs}$file |
pankso@601 | 35 done |
pankso@601 | 36 status |
pankso@601 | 37 |
pankso@601 | 38 # Rm files provided by locale-pack. |
pankso@2701 | 39 for i in $LOCALE_PACK |
pankso@602 | 40 do |
pankso@670 | 41 echo -n "* Removing locale: $i" |
pankso@602 | 42 rm -rf $fs/usr/share/locale/$i |
pankso@670 | 43 status |
pankso@602 | 44 done |
pankso@529 | 45 } |