libraries/icu4c: Updated for version 4.0.1

This commit is contained in:
Heinz Wiesinger 2010-05-12 17:40:54 +02:00 committed by Robby Workman
parent 0c92683e8a
commit 60daa35850
5 changed files with 13 additions and 2030 deletions

View file

@ -1,5 +1,5 @@
The International Components for Unicode (ICU)libraries provide robust
and full-featured Unicode services on a wide variety of platforms.
If you need static libraries you can pass STATIC=yes to the script to
If you need static libraries, you can pass STATIC=yes to the script to
enable them.

File diff suppressed because it is too large Load diff

View file

@ -1,11 +0,0 @@
Index: source/i18n/timezone.cpp
===================================================================
--- source/i18n/timezone.cpp (revision 24126)
+++ source/i18n/timezone.cpp (revision 24940)
@@ -1236,4 +1236,6 @@
}
format.adoptTimeZone(tz);
+ } else {
+ format.setTimeZone(*this);
}
} else {

View file

@ -2,7 +2,7 @@
# Slackware build script for icu4c
# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=icu4c
VERSION=4.0
VERSION=4.0.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -39,10 +39,13 @@ STATIC=${STATIC:-no}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
if [ "$STATIC" = 'no' ]; then
@ -66,23 +69,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
# Fix incorrect @stable ICU 4.0 tags in ICU4C (Bug #6435)
patch -p0 -i $CWD/changeset_r24398.diff
# Fix time zone display name problem (Bug #6597)
patch -p0 -i $CWD/icu4c-4.0-timezone.patch
cd source/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-shared \
--${STATICOPT}able-static \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="icu4c"
VERSION="4.0"
VERSION="4.0.1"
HOMEPAGE="http://www.icu-project.org/"
DOWNLOAD="http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-src.tgz"
MD5SUM="29ab09d84b72a74953cbb4d3d5759e14"
DOWNLOAD="http://download.icu-project.org/files/icu4c/4.0.1/icu4c-4_0_1-src.tgz"
MD5SUM="2f6ecca935948f7db92d925d88d0d078"
MAINTAINER="ppr:kut"
EMAIL="pprkut@liwjatan.at"
APPROVED="dsomero"
APPROVED="rworkman"