aboutsummaryrefslogtreecommitdiff
path: root/libraries/leptonica/leptonica.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-08 10:59:13 -0600
committerErik Hanson <erik@slackbuilds.org>2014-02-08 10:59:13 -0600
commitb70bc3b76e8f3db29ef4582515ac3c173768da67 (patch)
tree7f1ec00cb9488692ef5f03bdffa20387cf3dac2f /libraries/leptonica/leptonica.SlackBuild
parent29cbfe664c8b14fab6bbe8ac7de638a9f1304430 (diff)
libraries/leptonica: Updated for version 1.70.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/leptonica/leptonica.SlackBuild')
-rw-r--r--libraries/leptonica/leptonica.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/leptonica/leptonica.SlackBuild b/libraries/leptonica/leptonica.SlackBuild
index 9f8cbaa95f415..631d163a0b92f 100644
--- a/libraries/leptonica/leptonica.SlackBuild
+++ b/libraries/leptonica/leptonica.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for leptonica
-# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2012-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=leptonica
-VERSION=${VERSION:-1.69}
+VERSION=${VERSION:-1.70}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,9 +80,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
-
make
make install DESTDIR=$PKG
@@ -90,9 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.html version-notes.html leptonica-license.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.html version-notes.html leptonica-license.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install