From b70bc3b76e8f3db29ef4582515ac3c173768da67 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 8 Feb 2014 10:59:13 -0600 Subject: libraries/leptonica: Updated for version 1.70. Signed-off-by: Erik Hanson --- libraries/leptonica/leptonica.SlackBuild | 12 +++++------- libraries/leptonica/leptonica.info | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'libraries') 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 +# Copyright 2012-2014 Willy Sudiarto Raharjo # 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="" -- cgit v1.2.3