wok view icu/receipt @ rev 15953
arm: fix file cross compilation and add testsuite
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 15:49:23 2014 +0100 (2014-02-23) |
parents | b7319995b37e |
children | b5fc131dba9c |
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="4.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="icu4c"
10 TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
11 WEB_SITE="http://www.icu-project.org/"
12 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
13 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/source
19 sed -i 's/dirname -- /dirname/' configure
20 {
21 ./configure \
22 --disable-tests \
23 --disable-samples \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 } 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }