libraries/liblinebreak: Updated for version 2.0

This commit is contained in:
Niels Horn 2010-05-13 00:31:00 +02:00 committed by Erik Hanson
parent e37ea60d5f
commit 94b1fb1ade
4 changed files with 19 additions and 11 deletions

View File

@ -1,2 +1,2 @@
liblinebreak is an implementation of the line breaking algorithm as
described in Unicode 5.0.0 Standard Annex 14.
described in Unicode 5.2.0 Standard Annex 14.

View File

@ -2,10 +2,12 @@
# Slackware build script for liblinebreak
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
# Originally written by Audrius Kazukauskas <audrius@neutrino.lt>
# Maintained as of version 2.0 by Niels Horn <niels.horn@gmail.com>
# Revision date: 2010/01/28
PRGNAM=liblinebreak
VERSION=${VERSION:-1.1.1}
VERSION=${VERSION:-2.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -17,10 +19,13 @@ OUTPUT=${OUTPUT:-/tmp}
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
set -e
@ -41,6 +46,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
make
@ -54,4 +60,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}

View File

@ -1,8 +1,10 @@
PRGNAM="liblinebreak"
VERSION="1.1.1"
VERSION="2.0"
HOMEPAGE="http://vimgadgets.sourceforge.net/liblinebreak/"
DOWNLOAD="http://downloads.sourceforge.net/vimgadgets/liblinebreak-1.1.1.tar.gz"
MD5SUM="91980872836c361b78b271d3229586d3"
MAINTAINER="Audrius Kazukauskas"
EMAIL="audrius@neutrino.lt"
APPROVED="rworkman"
DOWNLOAD="http://downloads.sourceforge.net/vimgadgets/liblinebreak-2.0.tar.gz"
MD5SUM="c4ac2052b9e1883822662ecee483c542"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
APPROVED="Erik Hanson"

View File

@ -9,7 +9,7 @@
liblinebreak: liblinebreak (a line breaking library)
liblinebreak:
liblinebreak: liblinebreak is an implementation of the line breaking algorithm as
liblinebreak: described in Unicode 5.0.0 Standard Annex 14.
liblinebreak: described in Unicode 5.2.0 Standard Annex 14.
liblinebreak:
liblinebreak: Homepage: http://wyw.dcweb.cn/
liblinebreak: