wok-6.x annotate icu/receipt @ rev 15479

python-qrcode: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 10 10:36:42 2013 +0000 (2013-11-10)
parents b7319995b37e
children b5fc131dba9c
rev   line source
pankso@875 1 # SliTaz package receipt.
pankso@875 2
pankso@875 3 PACKAGE="icu"
slaxemulator@9274 4 VERSION="4.6.1"
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"
pascal@15318 8 LICENSE="MIT"
slaxemulator@9138 9 SOURCE="icu4c"
slaxemulator@9138 10 TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
pankso@875 11 WEB_SITE="http://www.icu-project.org/"
slaxemulator@9138 12 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
slaxemulator@9138 13 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
pankso@875 14
pankso@875 15 # Rules to configure and make the package.
pankso@875 16 compile_rules()
pankso@875 17 {
gokhlayeh@8218 18 cd $src/source
pascal@5162 19 sed -i 's/dirname -- /dirname/' configure
pascal@15318 20 {
pankso@875 21 ./configure \
pankso@875 22 --disable-tests \
gokhlayeh@11573 23 --disable-samples \
gokhlayeh@11573 24 $CONFIGURE_ARGS &&
slaxemulator@9138 25 make &&
pankso@9971 26 make DESTDIR=$DESTDIR install
pascal@15318 27 } 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
pankso@875 28 }
pankso@875 29
pankso@875 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@875 31 genpkg_rules()
pankso@875 32 {
pankso@875 33 mkdir -p $fs/usr/lib
pascal@15318 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@875 35 }