wok view icu/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents af8d823a3077
children e7bde16e8f79
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 DEPENDS="gcc83-lib-base"
22 BUILD_DEPENDS="gcc83"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/icu4c/source
28 #sed -i 's/dirname -- /dirname/' configure
29 #{
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --disable-samples \
34 --disable-tests \
35 --enable-auto-cleanup \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cook_copy_folders bin
47 cook_copy_folders sbin
48 cook_copy_files *.so*
49 cp -a $install/usr/share/icu $fs/usr/share
50 }