wok-current view icu/receipt @ rev 25692

Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 22 16:28:42 2024 +0000 (3 months ago)
parents e7bde16e8f79
children
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="70.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://icu.unicode.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://icu.unicode.org/download 2>/dev/null | \
18 sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src/icu4c/source
25 #sed -i 's/dirname -- /dirname/' configure
26 #{
27 ./configure \
28 --disable-samples \
29 --disable-tests \
30 --enable-auto-cleanup \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cook_copy_folders bin
42 cook_copy_folders sbin
43 cook_copy_files *.so*
44 cp -a $install/usr/share/icu $fs/usr/share
45 }