summaryrefslogtreecommitdiff
path: root/libraries/icu4c/icu4c.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/icu4c/icu4c.SlackBuild')
-rw-r--r--libraries/icu4c/icu4c.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/libraries/icu4c/icu4c.SlackBuild b/libraries/icu4c/icu4c.SlackBuild
index 00ae8ea7e4..20a269304e 100644
--- a/libraries/icu4c/icu4c.SlackBuild
+++ b/libraries/icu4c/icu4c.SlackBuild
@@ -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