diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-12 17:40:54 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:40:54 +0200 |
commit | 60daa358500c430ac872fbeaafef284ffb8bf0ec (patch) | |
tree | 062b9b8c9e8be9ce257b9bb054710ad2441f9ac6 /libraries/icu4c/icu4c.SlackBuild | |
parent | 0c92683e8a5094ee9f80d250d392ada4d315ed79 (diff) |
libraries/icu4c: Updated for version 4.0.1
Diffstat (limited to 'libraries/icu4c/icu4c.SlackBuild')
-rw-r--r-- | libraries/icu4c/icu4c.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/libraries/icu4c/icu4c.SlackBuild b/libraries/icu4c/icu4c.SlackBuild index 00ae8ea7e46d9..20a269304e679 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 |