wok-next view icu/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 2f3aba6cc31e |
children | 6ba36b73ef48 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="icu"
4 VERSION="58.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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/icu4c-${VERSION//./_}-src.tgz"
13 TARBALL_MD5="fac212b32b7ec7ab007a12dff1f3aea1"
15 SPLIT="libicu icu icu-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/source
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 libicu)
29 copy libicuuc.so* libicudata.so*
30 CAT="libs|core libraries"
31 DEPENDS=" "
32 ;;
33 icu)
34 copy bin/ sbin/ *.so*
35 rm $fs/usr/bin/icu-config
36 remove_already_packed
37 DEPENDS="libicu"
38 ;;
39 *-dev)
40 copy @std @dev
41 remove_already_packed
42 ;;
43 esac
44 }