wok-6.x annotate glibc-locale/receipt @ rev 1944
Up tazndis 1.53.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 28 15:14:17 2008 +0100 (2008-12-28) |
parents | 585bd52eb85b |
children | 4a057e1fc620 |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt. |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="glibc-locale" |
pankso@529 | 4 VERSION="2.7" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@529 | 6 SHORT_DESC="The GNU C libraries locale files (see also locale-*)." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@570 | 8 DEPENDS="glibc-base" |
pankso@529 | 9 WANTED="glibc" |
pankso@529 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@529 | 11 SOURCES="glibc" |
pankso@529 | 12 |
pankso@529 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 14 # |
pankso@529 | 15 # This package provide glibc locale files and utility. |
pankso@529 | 16 # |
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@601 | 21 cp -a $_pkg/usr/lib/gconv $fs/usr/lib |
pankso@601 | 22 cp -a $_pkg/usr/share/locale $fs/usr/share |
pankso@601 | 23 cp -a $_pkg/usr/share/i18n $fs/usr/share |
pankso@601 | 24 cp -a $_pkg/usr/share/zoneinfo $fs/usr/share |
pankso@601 | 25 |
pankso@601 | 26 # Utilities and tools |
pankso@601 | 27 cp -a $_pkg/usr/bin/localedef $fs/usr/bin |
pankso@601 | 28 cp -a $_pkg/usr/bin/iconv $fs/usr/bin |
pankso@601 | 29 cp -a $_pkg/usr/bin/tzselect $fs/usr/bin |
pankso@601 | 30 |
pankso@601 | 31 # Rm base files. |
pankso@601 | 32 echo -n "Removing all base files..." |
pankso@601 | 33 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@601 | 34 do |
pankso@601 | 35 rm -f ${fs}$file |
pankso@601 | 36 done |
pankso@601 | 37 status |
pankso@601 | 38 |
pankso@601 | 39 # Rm files provided by locale-pack. |
pankso@951 | 40 for i in de cs es fr ru id it pt_BR |
pankso@602 | 41 do |
pankso@670 | 42 echo -n "* Removing locale: $i" |
pankso@602 | 43 rm -rf $fs/usr/share/locale/$i |
pankso@670 | 44 status |
pankso@602 | 45 done |
pankso@529 | 46 } |