SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "icu"

# SliTaz package receipt.

PACKAGE="icu"
VERSION="70.1"
CATEGORY="system-tools"
SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://icu.unicode.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz"

# What is the latest version available today?
current_version()
{
    wget -O - https://icu.unicode.org/download 2>/dev/null | \
    sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/icu4c/source
    #sed -i 's/dirname -- /dirname/' configure
    #{
    ./configure            \
        --disable-samples    \
        --disable-tests        \
        --enable-auto-cleanup    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

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

    cook_copy_folders    bin
    cook_copy_folders    sbin
    cook_copy_files        *.so*
    cp -a $install/usr/share/icu    $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)