wok-next view icu/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
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="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://site.icu-project.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 COOKOPTS="force-arch" # different configs, .inc
23 BUILD_DEPENDS="subversion"
24 SPLIT="libicu $PACKAGE $PACKAGE-dev \
25 libicu-full:full $PACKAGE-full:full $PACKAGE-full-dev:full"
27 compile_rules() {
28 # fix math
29 cd $src/icu4c/source
30 sed -i.orig 's/xlocale/locale/' i18n/digitlst.cpp
31 if [ -z "$SET" ]; then
32 rm data/mappings/ucm*.mk
33 cp -r $stuff/* .
34 fi
36 ./configure $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 libicu)
44 copy libicuuc.so* libicudata.so*
45 CAT="libs|core libraries"
46 DEPENDS="glibc-base"
47 ;;
48 icu)
49 copy bin/ sbin/ *.so* @rm
50 rm $fs/usr/bin/icu-config
51 DEPENDS="libicu"
52 ;;
53 icu-dev)
54 copy @std @dev @rm
55 DEPENDS="libicu icu"
56 ;;
58 libicu-full)
59 copy libicuuc.so* libicudata.so*
60 CAT="libs|core libraries"
61 DEPENDS="glibc-base"
62 PROVIDE="libicu"
63 ;;
64 icu-full)
65 copy bin/ sbin/ *.so* @rm
66 rm $fs/usr/bin/icu-config
67 DEPENDS="libicu-full"
68 PROVIDE="icu"
69 ;;
70 icu-full-dev)
71 copy @std @dev @rm
72 DEPENDS="libicu-full icu-full"
73 PROVIDE="icu-dev"
74 ;;
75 esac
76 }