wok-4.x annotate icu/receipt @ rev 7050

Up: fotoxx to 10.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 01 07:31:13 2010 +0000 (2010-11-01)
parents dd8ad4ae1ec1
children 32923d047b65
rev   line source
pankso@875 1 # SliTaz package receipt.
pankso@875 2
pankso@875 3 PACKAGE="icu"
slaxemulator@6610 4 VERSION="4.4.2"
pankso@875 5 CATEGORY="system-tools"
pankso@875 6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
pankso@875 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@6445 8 TARBALL="icu4c-${VERSION//./_}-src.tgz"
pankso@875 9 WEB_SITE="http://www.icu-project.org/"
slaxemulator@6445 10 #WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/$TARBALL"
slaxemulator@6445 11 WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
pankso@875 12
pankso@875 13 # Rules to configure and make the package.
pankso@875 14 compile_rules()
pankso@875 15 {
pankso@875 16 mv icu icu-$VERSION && cd $src/source
pascal@5162 17 sed -i 's/dirname -- /dirname/' configure
pankso@875 18 ./configure \
pankso@875 19 --prefix=/usr \
pankso@875 20 --mandir=/usr/share/man \
pankso@875 21 --disable-tests \
pankso@875 22 --disable-samples \
pascal@1483 23 $CONFIGURE_ARGS &&
pascal@5778 24 make -j 4 &&
pankso@875 25 make DESTDIR=$WOK/$PACKAGE/icu-$VERSION/_pkg install
pankso@875 26 }
pankso@875 27
pankso@875 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@875 29 genpkg_rules()
pankso@875 30 {
pankso@875 31 mkdir -p $fs/usr/lib
pankso@875 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@875 33 }