wok-next annotate glibc-locale/receipt @ rev 14020
Up gst-plugins-good-dev (0.10.31)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 17 20:02:52 2013 +0100 (2013-02-17) |
parents | 14f4c5e142ff |
children | 380ffe05937a |
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" |
gokhlayeh@8188 | 8 DEPENDS="glibc-base glibc-extra-samba" |
pankso@529 | 9 WANTED="glibc" |
pankso@529 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 11 |
pankso@4855 | 12 LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW" |
pankso@2701 | 13 |
pankso@529 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 15 genpkg_rules() |
pankso@529 | 16 { |
pankso@601 | 17 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin |
pankso@601 | 18 |
pankso@12269 | 19 cp -a $install/usr/lib/gconv $fs/usr/lib |
pankso@12269 | 20 cp -a $install/usr/share/locale $fs/usr/share |
pankso@12269 | 21 cp -a $install/usr/share/i18n $fs/usr/share |
pankso@12269 | 22 cp -a $install/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 23 |
pankso@601 | 24 # Utilities and tools |
pankso@12269 | 25 cp -a $install/usr/bin/iconv $fs/usr/bin |
pankso@12269 | 26 cp -a $install/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 27 |
pankso@601 | 28 # Rm base files. |
gokhlayeh@9253 | 29 echo -n "* Removing all base files..." |
pankso@601 | 30 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 31 do |
pankso@601 | 32 rm -f ${fs}$file |
pankso@601 | 33 done |
pankso@601 | 34 status |
pankso@2756 | 35 |
pankso@2756 | 36 # Rm glibc-extra-samba files. |
gokhlayeh@9253 | 37 echo -n "* Removing extra samba files..." |
pankso@2756 | 38 for file in `cat $WOK/glibc-extra-samba/taz/glibc-extra-samba-$VERSION/files.list` |
pankso@2756 | 39 do |
pankso@2756 | 40 rm -f ${fs}$file |
pankso@2756 | 41 done |
pankso@2756 | 42 status |
pankso@601 | 43 |
pankso@601 | 44 # Rm files provided by locale-pack. |
pankso@2701 | 45 for i in $LOCALE_PACK |
pankso@602 | 46 do |
pankso@670 | 47 echo -n "* Removing locale: $i" |
pankso@602 | 48 rm -rf $fs/usr/share/locale/$i |
pankso@670 | 49 status |
pankso@602 | 50 done |
pankso@529 | 51 } |