wok annotate icu/receipt @ rev 16776
Add: httpie, python-requests; up: python-pygments (1.6), setuptools (4.0.1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 22 01:53:55 2014 +0300 (2014-06-22) |
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 } |