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 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libraries/leptonica/leptonica.SlackBuild') 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 +# 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 -- cgit v1.2.3