wok-next view icu/receipt @ rev 20359
icu: fix dependencies; webkitgtk: patch for updated icu
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 23 12:57:31 2017 +0200 (2017-11-23) |
parents | 6ba36b73ef48 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="icu"
4 VERSION="60.1"
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 cd $src/icu4c/source
26 sed -i.orig 's/xlocale/locale/' i18n/digitlst.cpp
27 if [ -z "$SET" ]; then
28 rm data/mappings/ucm*.mk
29 cp -r $stuff/* .
30 fi
32 ./configure $CONFIGURE_ARGS && make && make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libicu)
38 copy libicuuc.so* libicudata.so*
39 CAT="libs|core libraries"
40 DEPENDS="glibc-base"
41 ;;
42 icu)
43 copy bin/ sbin/ *.so* @rm
44 rm $fs/usr/bin/icu-config
45 DEPENDS="libicu"
46 ;;
47 icu-dev)
48 copy @std @dev @rm
49 DEPENDS="libicu icu"
50 ;;
52 libicu-full)
53 copy libicuuc.so* libicudata.so*
54 CAT="libs|core libraries"
55 DEPENDS="glibc-base"
56 PROVIDE="libicu"
57 ;;
58 icu-full)
59 copy bin/ sbin/ *.so* @rm
60 rm $fs/usr/bin/icu-config
61 DEPENDS="libicu-full"
62 PROVIDE="icu"
63 ;;
64 icu-full-dev)
65 copy @std @dev @rm
66 DEPENDS="libicu-full icu-full"
67 PROVIDE="icu-dev"
68 ;;
69 esac
70 }