wok view icu/receipt @ rev 8947

othello: get tarball from slitaz mirror
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 23:18:31 2011 +0100 (2011-03-01)
parents a96e06b3d809
children 37e45ecc368d
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="icu4c-${VERSION//./_}-src.tgz"
9 WEB_SITE="http://www.icu-project.org/"
10 #WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/$TARBALL"
11 WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/source
17 sed -i 's/dirname -- /dirname/' configure
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --disable-tests \
22 --disable-samples \
23 $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$WOK/$PACKAGE/icu-$VERSION/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }