mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
office/gocr: Updated for version 0.49.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
79bb3c9fdc
commit
7efaaaf122
3 changed files with 10 additions and 13 deletions
|
@ -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
|
||||
# <nishant _AT_ mnspace _DOT_ net>
|
||||
# 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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="gocr"
|
||||
VERSION="0.48"
|
||||
VERSION="0.49"
|
||||
HOMEPAGE="http://jocr.sourceforge.net/index.html"
|
||||
DOWNLOAD="http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.48.tar.gz"
|
||||
MD5SUM="9882ba9a93fcb18ab704a10da80c228c"
|
||||
DOWNLOAD="http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.49.tar.gz"
|
||||
MD5SUM="4e527bc4bdd97c2be15fdd818857507f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Nishant Limbachia"
|
||||
EMAIL="nishant@mnspace.net"
|
||||
APPROVED="Erik Hanson"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue