summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/leptonica/leptonica.SlackBuild12
-rw-r--r--libraries/leptonica/leptonica.info6
2 files changed, 8 insertions, 10 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
diff --git a/libraries/leptonica/leptonica.info b/libraries/leptonica/leptonica.info
index 7a310332eb..c97eb7a44a 100644
--- a/libraries/leptonica/leptonica.info
+++ b/libraries/leptonica/leptonica.info
@@ -1,8 +1,8 @@
PRGNAM="leptonica"
-VERSION="1.69"
+VERSION="1.70"
HOMEPAGE="http://www.leptonica.com/"
-DOWNLOAD="https://leptonica.googlecode.com/files/leptonica-1.69.tar.bz2"
-MD5SUM="3c442f4edaf0be25dc92dc0012f94a37"
+DOWNLOAD="http://www.leptonica.com/source/leptonica-1.70.tar.gz"
+MD5SUM="5ac2a31cf5b4f0e8f5a853a5266c42ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""