wok-current view icu/receipt @ rev 9223
Fix icedtea6; handle multi-sources using some new receipts
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 11 17:58:14 2011 +0100 (2011-03-11) |
parents | 32923d047b65 |
children | 98412c30ef3b |
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="icu4c"
9 TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
10 WEB_SITE="http://www.icu-project.org/"
11 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
12 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/source
18 sed -i 's/dirname -- /dirname/' configure
19 ./configure \
20 --disable-tests \
21 --disable-samples &&
22 make &&
23 make DESTDIR=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }