wok-current annotate icu/receipt @ rev 20220
Up tazlito (487)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 11:07:16 2018 +0100 (2018-02-26) |
parents | b5fc131dba9c |
children | 56ee356284c6 |
rev | line source |
---|---|
pankso@875 | 1 # SliTaz package receipt. |
pankso@875 | 2 |
pankso@875 | 3 PACKAGE="icu" |
devl547@17573 | 4 VERSION="54.1" |
pankso@875 | 5 CATEGORY="system-tools" |
pankso@875 | 6 SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization." |
pankso@875 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15318 | 8 LICENSE="MIT" |
slaxemulator@9138 | 9 SOURCE="icu4c" |
slaxemulator@9138 | 10 TARBALL="$SOURCE-${VERSION//./_}-src.tgz" |
pankso@875 | 11 WEB_SITE="http://www.icu-project.org/" |
slaxemulator@9138 | 12 WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL" |
slaxemulator@9138 | 13 #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL" |
pankso@875 | 14 |
pankso@875 | 15 # Rules to configure and make the package. |
pankso@875 | 16 compile_rules() |
pankso@875 | 17 { |
gokhlayeh@8218 | 18 cd $src/source |
devl547@17585 | 19 #sed -i 's/dirname -- /dirname/' configure |
devl547@17585 | 20 #{ |
pankso@875 | 21 ./configure \ |
pankso@875 | 22 --disable-tests \ |
gokhlayeh@11573 | 23 --disable-samples \ |
devl547@17585 | 24 --enable-auto-cleanup \ |
gokhlayeh@11573 | 25 $CONFIGURE_ARGS && |
slaxemulator@9138 | 26 make && |
pankso@9971 | 27 make DESTDIR=$DESTDIR install |
devl547@17585 | 28 #} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|' |
pankso@875 | 29 } |
pankso@875 | 30 |
pankso@875 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@875 | 32 genpkg_rules() |
pankso@875 | 33 { |
devl547@17585 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15318 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@17585 | 36 cp -a $install/usr/bin $fs/usr/ |
devl547@17585 | 37 cp -a $install/usr/sbin $fs/usr/ |
devl547@17585 | 38 cp -a $install/usr/share/icu $fs/usr/share |
pankso@875 | 39 } |