wok-4.x view icu/receipt @ rev 5800

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 14:18:18 2010 +0200 (2010-07-11)
parents 252a378d28c1
children dd8ad4ae1ec1
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4c-4_2_1"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="icu${VERSION}-src.tgz"
9 WEB_SITE="http://www.icu-project.org/"
10 WGET_URL="http://download.icu-project.org/files/icu4c/4.2.1/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mv icu icu-$VERSION && cd $src/source
16 sed -i 's/dirname -- /dirname/' configure
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --disable-tests \
21 --disable-samples \
22 $CONFIGURE_ARGS &&
23 make -j 4 &&
24 make DESTDIR=$WOK/$PACKAGE/icu-$VERSION/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }