mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/icu4c: Updated for version 4.2.1
This commit is contained in:
parent
2c3bac3d3a
commit
999ac6f32f
3 changed files with 10 additions and 20 deletions
|
@ -1,5 +1,2 @@
|
|||
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
|
||||
enable them.
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="icu4c"
|
||||
VERSION="4.0.1"
|
||||
VERSION="4.2.1"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
DOWNLOAD="http://download.icu-project.org/files/icu4c/4.0.1/icu4c-4_0_1-src.tgz"
|
||||
MD5SUM="2f6ecca935948f7db92d925d88d0d078"
|
||||
MAINTAINER="ppr:kut"
|
||||
DOWNLOAD="http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="e3738abd0d3ce1870dc1fd1f22bba5b1"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="pprkut"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue