aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2010-05-12 17:41:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:26 +0200
commit298650125e275c916999d97aaba356ad29ba9912 (patch)
treeb340c0bb41464d270a7fb7d292c3508aa418adbb /libraries
parent5d102c55b81e5388137baca21560bec6802c9217 (diff)
libraries/liblinebreak: Updated for version 1.1.1
Diffstat (limited to 'libraries')
-rw-r--r--libraries/liblinebreak/liblinebreak.SlackBuild24
-rw-r--r--libraries/liblinebreak/liblinebreak.info12
-rw-r--r--libraries/liblinebreak/slack-desc2
3 files changed, 19 insertions, 19 deletions
diff --git a/libraries/liblinebreak/liblinebreak.SlackBuild b/libraries/liblinebreak/liblinebreak.SlackBuild
index f65146681a332..6e8c5e111ba9e 100644
--- a/libraries/liblinebreak/liblinebreak.SlackBuild
+++ b/libraries/liblinebreak/liblinebreak.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for liblinebreak
-# Written by Audrius Kažukauskas <neobug@tornado.ktu.lt>
+# Written by Audrius Kažukauskas <audrius@neutrino.lt>
PRGNAM=liblinebreak
-VERSION=${VERSION:-0.9.6}
+VERSION=${VERSION:-1.1.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -28,9 +28,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf linebreak
-unzip $CWD/linebreak.zip
-cd linebreak
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -38,16 +38,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch Makefile to use SLKCFLAGS
-sed -i "s/^CFLAGS =/CFLAGS = $SLKCFLAGS/" Makefile
-make release
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --build=$ARCH-slackware-linux
-mkdir -p $PKG/usr/{lib,include}
-cp -a linebreak.h $PKG/usr/include
-cp -a ReleaseDir/liblinebreak.a $PKG/usr/lib
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENCE README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog LICENCE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/liblinebreak/liblinebreak.info b/libraries/liblinebreak/liblinebreak.info
index fa980c145a327..2bab6aac1fcea 100644
--- a/libraries/liblinebreak/liblinebreak.info
+++ b/libraries/liblinebreak/liblinebreak.info
@@ -1,8 +1,8 @@
PRGNAM="liblinebreak"
-VERSION="0.9.6"
-HOMEPAGE="http://wyw.dcweb.cn/"
-DOWNLOAD="http://wyw.dcweb.cn/download.asp?path=&file=linebreak.zip"
-MD5SUM="d5318c1a570b422c2f5441e313b6271b"
+VERSION="1.1.1"
+HOMEPAGE="http://vimgadgets.sourceforge.net/liblinebreak/"
+DOWNLOAD="http://downloads.sourceforge.net/vimgadgets/liblinebreak-1.1.1.tar.gz"
+MD5SUM="91980872836c361b78b271d3229586d3"
MAINTAINER="Audrius Kazukauskas"
-EMAIL="neobug@tornado.ktu.lt"
-APPROVED="David Somero" \ No newline at end of file
+EMAIL="audrius@neutrino.lt"
+APPROVED="rworkman"
diff --git a/libraries/liblinebreak/slack-desc b/libraries/liblinebreak/slack-desc
index de10c19e035f3..2de102ee4caf1 100644
--- a/libraries/liblinebreak/slack-desc
+++ b/libraries/liblinebreak/slack-desc
@@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-liblinebreak: liblinebreak - line breaking library
+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.