From 7efaaaf1228647a3ac703a4e49a1a3a1578e553c Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Fri, 4 Mar 2011 11:08:28 -0600 Subject: office/gocr: Updated for version 0.49. Signed-off-by: Robby Workman --- office/gocr/gocr.SlackBuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'office/gocr/gocr.SlackBuild') diff --git a/office/gocr/gocr.SlackBuild b/office/gocr/gocr.SlackBuild index 5e1cbedd16..e29da2f1e9 100644 --- a/office/gocr/gocr.SlackBuild +++ b/office/gocr/gocr.SlackBuild @@ -3,7 +3,8 @@ # Slackware Package Build Script for GOCR # Home Page http://jocr.sourceforge.net/index.html -# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +26,8 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gocr -VERSION=0.48 -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.49} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -76,6 +77,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --bindir=/usr/bin \ --exec-prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -86,20 +88,15 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -### -mv $PKG/bin $PKG/usr - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS BUGS CREDITS INSTALL README* HISTORY TODO \ doc/*.txt doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -### strip binaries find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -### compress man page gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/install -- cgit v1.2.3-80-g2a13