wok view icu/receipt @ rev 19880

obexftp: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 02 17:28:17 2017 +0200 (2017-04-02)
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 }