aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-05-13 00:31:00 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:31:00 +0200
commit94b1fb1adea185728bcbab0028821f1e92105b41 (patch)
treebeb2e3c6c34838644df570d8832494a8bd8f9090
parente37ea60d5f958eec0fe71189e7cc1e703f050a14 (diff)
libraries/liblinebreak: Updated for version 2.0
-rw-r--r--libraries/liblinebreak/README2
-rw-r--r--libraries/liblinebreak/liblinebreak.SlackBuild12
-rw-r--r--libraries/liblinebreak/liblinebreak.info14
-rw-r--r--libraries/liblinebreak/slack-desc2
4 files changed, 19 insertions, 11 deletions
diff --git a/libraries/liblinebreak/README b/libraries/liblinebreak/README
index 4da5d65bf5c24..536218c873503 100644
--- a/libraries/liblinebreak/README
+++ b/libraries/liblinebreak/README
@@ -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.
diff --git a/libraries/liblinebreak/liblinebreak.SlackBuild b/libraries/liblinebreak/liblinebreak.SlackBuild
index 6e8c5e111ba9e..aa398d56d95f9 100644
--- a/libraries/liblinebreak/liblinebreak.SlackBuild
+++ b/libraries/liblinebreak/liblinebreak.SlackBuild
@@ -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}
diff --git a/libraries/liblinebreak/liblinebreak.info b/libraries/liblinebreak/liblinebreak.info
index 2bab6aac1fcea..1e885d8d09468 100644
--- a/libraries/liblinebreak/liblinebreak.info
+++ b/libraries/liblinebreak/liblinebreak.info
@@ -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"
diff --git a/libraries/liblinebreak/slack-desc b/libraries/liblinebreak/slack-desc
index 2de102ee4caf1..d2a18f6cd4f8c 100644
--- a/libraries/liblinebreak/slack-desc
+++ b/libraries/liblinebreak/slack-desc
@@ -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: