aboutsummaryrefslogtreecommitdiff
path: root/libraries/icu4c/icu4c.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/icu4c/icu4c.SlackBuild')
-rw-r--r--libraries/icu4c/icu4c.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/libraries/icu4c/icu4c.SlackBuild b/libraries/icu4c/icu4c.SlackBuild
index 20a269304e679..aaf2ca3e69558 100644
--- a/libraries/icu4c/icu4c.SlackBuild
+++ b/libraries/icu4c/icu4c.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=icu4c
-VERSION=4.0.1
+VERSION=4.2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,10 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Pass STATIC=yes on command line when running this script if you do
-# want to build the static library(ies)
-STATIC=${STATIC:-no}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -48,12 +44,6 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-if [ "$STATIC" = 'no' ]; then
- STATICOPT='dis'
-else
- STATICOPT='en'
-fi
-
set -e
rm -rf $PKG
@@ -75,8 +65,9 @@ cd source/
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--enable-shared \
- --${STATICOPT}able-static \
+ --disable-static \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux
@@ -101,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}