wok-next annotate icu/receipt @ rev 5685
busybox: add httpd_helper.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 04 17:12:30 2010 +0200 (2010-06-04) |
parents | 7d71309e1247 |
children | c161b9c835d2 |
rev | line source |
---|---|
pankso@875 | 1 # SliTaz package receipt. |
pankso@875 | 2 |
pankso@875 | 3 PACKAGE="icu" |
pankso@4196 | 4 VERSION="4c-4_2_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" |
pankso@875 | 8 TARBALL="icu${VERSION}-src.tgz" |
pankso@875 | 9 WEB_SITE="http://www.icu-project.org/" |
pankso@4196 | 10 WGET_URL="http://download.icu-project.org/files/icu4c/4.2.1/$TARBALL" |
pankso@875 | 11 |
pankso@875 | 12 # Rules to configure and make the package. |
pankso@875 | 13 compile_rules() |
pankso@875 | 14 { |
pankso@875 | 15 mv icu icu-$VERSION && cd $src/source |
pascal@5162 | 16 sed -i 's/dirname -- /dirname/' configure |
pankso@875 | 17 ./configure \ |
pankso@875 | 18 --prefix=/usr \ |
pankso@875 | 19 --mandir=/usr/share/man \ |
pankso@875 | 20 --disable-tests \ |
pankso@875 | 21 --disable-samples \ |
pascal@1483 | 22 $CONFIGURE_ARGS && |
pascal@1483 | 23 make && |
pankso@875 | 24 make DESTDIR=$WOK/$PACKAGE/icu-$VERSION/_pkg install |
pankso@875 | 25 } |
pankso@875 | 26 |
pankso@875 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@875 | 28 genpkg_rules() |
pankso@875 | 29 { |
pankso@875 | 30 mkdir -p $fs/usr/lib |
pankso@875 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@875 | 32 } |