wok-current annotate icu/receipt @ rev 9138
Up: icu to 4.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 06 00:34:43 2011 +0000 (2011-03-06) |
parents | 32923d047b65 |
children | 98412c30ef3b |
rev | line source |
---|---|
pankso@875 | 1 # SliTaz package receipt. |
pankso@875 | 2 |
pankso@875 | 3 PACKAGE="icu" |
slaxemulator@9138 | 4 VERSION="4.6" |
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@9138 | 8 SOURCE="icu4c" |
slaxemulator@9138 | 9 TARBALL="$SOURCE-${VERSION//./_}-src.tgz" |
pankso@875 | 10 WEB_SITE="http://www.icu-project.org/" |
slaxemulator@9138 | 11 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL" |
slaxemulator@9138 | 12 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL" |
pankso@875 | 13 |
pankso@875 | 14 # Rules to configure and make the package. |
pankso@875 | 15 compile_rules() |
pankso@875 | 16 { |
gokhlayeh@8218 | 17 cd $src/source |
pascal@5162 | 18 sed -i 's/dirname -- /dirname/' configure |
pankso@875 | 19 ./configure \ |
pankso@875 | 20 --disable-tests \ |
slaxemulator@9138 | 21 --disable-samples && |
slaxemulator@9138 | 22 make && |
slaxemulator@9138 | 23 make DESTDIR=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg install |
pankso@875 | 24 } |
pankso@875 | 25 |
pankso@875 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@875 | 27 genpkg_rules() |
pankso@875 | 28 { |
pankso@875 | 29 mkdir -p $fs/usr/lib |
pankso@875 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@875 | 31 } |