wok view icu/receipt @ rev 23797

linld: fix argstr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 23 18:02:24 2020 +0000 (7 weeks ago)
parents f6c0e38da3b8
children
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="https://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 }