wok-6.x annotate icu/receipt @ rev 8985
Fixed putty.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Mar 02 16:30:51 2011 +0000 (2011-03-02) |
parents | a96e06b3d809 |
children | 37e45ecc368d |
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 { |
gokhlayeh@8218 | 16 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 } |