wok-6.x view icu/receipt @ rev 20578

clisp, zfs-fuse: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 18:40:39 2018 +0100 (2018-12-13)
parents b5fc131dba9c
children 56ee356284c6
line source
1 # SliTaz package receipt.
3 PACKAGE="icu"
4 VERSION="54.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 --enable-auto-cleanup \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 #} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr/
37 cp -a $install/usr/sbin $fs/usr/
38 cp -a $install/usr/share/icu $fs/usr/share
39 }