wok-next annotate icu/receipt @ rev 21546

updated cgdb (0.7.0 -> 0.7.1)
author Hans-G?nter Theisgen
date Sun Jun 21 17:41:36 2020 +0100 (2020-06-21)
parents d5aab818505e
children
rev   line source
al@19765 1 # SliTaz package receipt v2.
pankso@875 2
pankso@875 3 PACKAGE="icu"
al@20443 4 VERSION="60.2"
pankso@875 5 CATEGORY="system-tools"
al@19765 6 SHORT_DESC="International Components for Unicode"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15318 8 LICENSE="MIT"
al@19765 9 WEB_SITE="http://site.icu-project.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/icu.html"
al@19765 11
al@20358 12 # We need to get sources from SVN in order to customize ICU and shrink its size.
al@20358 13 # http://userguide.icu-project.org/icudata#TOC-Customizing-ICU-s-Data-Library
al@20358 14 #
al@20358 15 #TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20358 16 #WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/icu4c-${VERSION//./_}-src.tgz"
al@20358 17 #TARBALL_MD5="3d164a2d1bcebd1464c6160ebb8315ef"
al@20358 18 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20358 19 WGET_URL="svn|http://source.icu-project.org/repos/icu/tags/release-${VERSION//./-}/"
al@19765 20
al@21094 21 COOKOPTS="force-arch" # different configs, .inc
al@21094 22
al@20358 23 BUILD_DEPENDS="subversion"
al@21020 24 SPLIT="libicu $PACKAGE $PACKAGE-dev \
al@21020 25 libicu-full:full $PACKAGE-full:full $PACKAGE-full-dev:full"
pankso@875 26
al@20358 27 compile_rules() {
al@20539 28 # fix math
al@20358 29 cd $src/icu4c/source
al@20358 30 sed -i.orig 's/xlocale/locale/' i18n/digitlst.cpp
al@20358 31 if [ -z "$SET" ]; then
al@20358 32 rm data/mappings/ucm*.mk
al@20358 33 cp -r $stuff/* .
al@20358 34 fi
al@20358 35
al@20443 36 ./configure $CONFIGURE_ARGS &&
al@21020 37 make &&
al@21020 38 make install
pankso@875 39 }
pankso@875 40
al@20358 41 genpkg_rules() {
al@19765 42 case $PACKAGE in
al@20359 43 libicu)
al@19801 44 copy libicuuc.so* libicudata.so*
al@19801 45 CAT="libs|core libraries"
al@20359 46 DEPENDS="glibc-base"
al@19801 47 ;;
al@20359 48 icu)
al@20358 49 copy bin/ sbin/ *.so* @rm
al@19801 50 rm $fs/usr/bin/icu-config
al@19801 51 DEPENDS="libicu"
al@19765 52 ;;
al@20359 53 icu-dev)
al@20358 54 copy @std @dev @rm
al@20359 55 DEPENDS="libicu icu"
al@20359 56 ;;
al@20359 57
al@20359 58 libicu-full)
al@20359 59 copy libicuuc.so* libicudata.so*
al@20359 60 CAT="libs|core libraries"
al@20359 61 DEPENDS="glibc-base"
al@20359 62 PROVIDE="libicu"
al@20359 63 ;;
al@20359 64 icu-full)
al@20359 65 copy bin/ sbin/ *.so* @rm
al@20359 66 rm $fs/usr/bin/icu-config
al@20359 67 DEPENDS="libicu-full"
al@20359 68 PROVIDE="icu"
al@20359 69 ;;
al@20359 70 icu-full-dev)
al@20359 71 copy @std @dev @rm
al@20359 72 DEPENDS="libicu-full icu-full"
al@20359 73 PROVIDE="icu-dev"
al@19765 74 ;;
al@19765 75 esac
pankso@875 76 }