wok-next view icu/receipt @ rev 20939
Fix brisk-menu, mate-backgrounds, mate-user-guide
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 26 09:13:55 2018 +0300 (2018-08-26) |
parents | 6477d7f70481 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="icu"
4 VERSION="60.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="International Components for Unicode"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://site.icu-project.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/icu.html"
12 # We need to get sources from SVN in order to customize ICU and shrink its size.
13 # http://userguide.icu-project.org/icudata#TOC-Customizing-ICU-s-Data-Library
14 #
15 #TARBALL="$PACKAGE-$VERSION.tar.gz"
16 #WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/icu4c-${VERSION//./_}-src.tgz"
17 #TARBALL_MD5="3d164a2d1bcebd1464c6160ebb8315ef"
18 TARBALL="$PACKAGE-$VERSION.tar.bz2"
19 WGET_URL="svn|http://source.icu-project.org/repos/icu/tags/release-${VERSION//./-}/"
21 BUILD_DEPENDS="subversion"
22 SPLIT="libicu icu icu-dev libicu-full:full icu-full:full icu-full-dev:full"
24 compile_rules() {
25 # fix math
26 cd $src/icu4c/source
27 sed -i.orig 's/xlocale/locale/' i18n/digitlst.cpp
28 if [ -z "$SET" ]; then
29 rm data/mappings/ucm*.mk
30 cp -r $stuff/* .
31 fi
33 ./configure $CONFIGURE_ARGS &&
34 make && make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libicu)
40 copy libicuuc.so* libicudata.so*
41 CAT="libs|core libraries"
42 DEPENDS="glibc-base"
43 ;;
44 icu)
45 copy bin/ sbin/ *.so* @rm
46 rm $fs/usr/bin/icu-config
47 DEPENDS="libicu"
48 ;;
49 icu-dev)
50 copy @std @dev @rm
51 DEPENDS="libicu icu"
52 ;;
54 libicu-full)
55 copy libicuuc.so* libicudata.so*
56 CAT="libs|core libraries"
57 DEPENDS="glibc-base"
58 PROVIDE="libicu"
59 ;;
60 icu-full)
61 copy bin/ sbin/ *.so* @rm
62 rm $fs/usr/bin/icu-config
63 DEPENDS="libicu-full"
64 PROVIDE="icu"
65 ;;
66 icu-full-dev)
67 copy @std @dev @rm
68 DEPENDS="libicu-full icu-full"
69 PROVIDE="icu-dev"
70 ;;
71 esac
72 }