summaryrefslogtreecommitdiff
path: root/libraries/leptonica/leptonica.SlackBuild
diff options
context:
space:
mode:
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 9f8cbaa95f..631d163a0b 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