wok annotate icu/receipt @ rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | af8d823a3077 |
children | e7bde16e8f79 |
rev | line source |
---|---|
pankso@875 | 1 # SliTaz package receipt. |
pankso@875 | 2 |
pankso@875 | 3 PACKAGE="icu" |
Hans-G?nter@24450 | 4 VERSION="70.1" |
pankso@875 | 5 CATEGORY="system-tools" |
Hans-G?nter@24450 | 6 SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization." |
pankso@875 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15318 | 8 LICENSE="MIT" |
Hans-G?nter@24450 | 9 WEB_SITE="https://icu-unicode.org/" |
Hans-G?nter@24450 | 10 |
Hans-G?nter@24450 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24450 | 12 WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz" |
pankso@875 | 13 |
pascal@24445 | 14 # What is the latest version available today? |
pascal@24445 | 15 current_version() |
pascal@24445 | 16 { |
pascal@24445 | 17 wget -O - https://icu.unicode.org/download 2>/dev/null | \ |
pascal@24445 | 18 sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q' |
pascal@24445 | 19 } |
pascal@24445 | 20 |
Hans-G?nter@24450 | 21 DEPENDS="gcc83-lib-base" |
Hans-G?nter@24450 | 22 BUILD_DEPENDS="gcc83" |
Hans-G?nter@24450 | 23 |
pankso@875 | 24 # Rules to configure and make the package. |
pankso@875 | 25 compile_rules() |
pankso@875 | 26 { |
Hans-G?nter@24450 | 27 cd $src/icu4c/source |
devl547@17585 | 28 #sed -i 's/dirname -- /dirname/' configure |
devl547@17585 | 29 #{ |
Hans-G?nter@24450 | 30 ./configure \ |
Hans-G?nter@24450 | 31 CC=gcc-83 \ |
Hans-G?nter@24450 | 32 CXX=g++-83 \ |
Hans-G?nter@24450 | 33 --disable-samples \ |
Hans-G?nter@24450 | 34 --disable-tests \ |
Hans-G?nter@24450 | 35 --enable-auto-cleanup \ |
gokhlayeh@11573 | 36 $CONFIGURE_ARGS && |
slaxemulator@9138 | 37 make && |
Hans-G?nter@24450 | 38 make install DESTDIR=$DESTDIR |
pankso@875 | 39 } |
pankso@875 | 40 |
pankso@875 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@875 | 42 genpkg_rules() |
pankso@875 | 43 { |
Hans-G?nter@24450 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@24450 | 45 |
Hans-G?nter@24450 | 46 cook_copy_folders bin |
Hans-G?nter@24450 | 47 cook_copy_folders sbin |
Hans-G?nter@24450 | 48 cook_copy_files *.so* |
Hans-G?nter@24450 | 49 cp -a $install/usr/share/icu $fs/usr/share |
pankso@875 | 50 } |