SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "glibc-locale"

# SliTaz package receipt.

PACKAGE="glibc-locale"
VERSION="2.28"
CATEGORY="system-tools"
SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.gnu.org/software/libc/"
HOST_ARCH="i486 x86_64"

DEPENDS="glibc-base"
WANTED="glibc"

LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin

    cp -a $install/usr/lib/gconv $fs/usr/lib
    cp -a $install/usr/share/locale $fs/usr/share
    cp -a $install/usr/share/i18n $fs/usr/share
    #cp -a $install/usr/share/zoneinfo $fs/usr/share

    # Utilities and tools
    cp -a $install/usr/bin/iconv $fs/usr/bin
    cp -a $install/usr/bin/tzselect $fs/usr/bin

    # Rm base files.
    echo -n "* Removing all base files..."
    for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
    do
        rm -f ${fs}$file
    done
    status

    # Rm files provided by locale-pack.
    for i in $LOCALE_PACK
    do
        echo -n "* Removing locale: $i"
        rm -rf $fs/usr/share/locale/$i
        status
    done
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)