Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fa1114df23e55f5346fccb81b47b411d70890bb9

commit fa1114df23e55f5346fccb81b47b411d70890bb9
Author: Devil505 <devil505li...@gmail.com>
Date:   Tue Oct 25 16:40:36 2011 +0200

tesseract-ocr-3.01-1-i686
* version bump

diff --git a/source/xapps-extra/tesseract-ocr/FrugalBuild 
b/source/xapps-extra/tesseract-ocr/FrugalBuild
index fccced0..13dd8ea 100644
--- a/source/xapps-extra/tesseract-ocr/FrugalBuild
+++ b/source/xapps-extra/tesseract-ocr/FrugalBuild
@@ -2,13 +2,13 @@
# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com>

pkgname=tesseract-ocr
-pkgver=3.00
+pkgver=3.01
pkgrel=1
pkgdesc="An OCR program"
archs=('i686' 'x86_64')
groups=('xapps-extra')
url="http://code.google.com/p/tesseract-ocr";
-depends=('libtiff>=3.9.2' 'libjpeg>=8a')
+depends=('libtiff>=3.9.2' 'libjpeg>=8a' 'leptonica')
_F_archive_name=tesseract
up2date="Flasttar $url" 
# up2date from Finclude googlecode does not work :/
source=(http://$pkgname.googlecode.com/files/$_F_archive_name-$pkgver.tar.gz \
@@ -43,7 +43,7 @@ 
source=(http://$pkgname.googlecode.com/files/$_F_archive_name-$pkgver.tar.gz \
http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz \
http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz)

-sha1sums=('1d797cae3d0047d7be6c9b17d1973a9afcf6bd81' \
+sha1sums=('c0b605d7192b3071842fe535c82b89c65f2d9c67' \
'55291e8ea664155ad51db867284c11ad1a1c5d00' \
'c20c73a2e17f5fe692de0fe9ac681da3984229ae' \
'fbe464cd49d6a7495e6d95600d421aa2dd0b9d77' \
@@ -77,14 +77,14 @@ sha1sums=('1d797cae3d0047d7be6c9b17d1973a9afcf6bd81' \


build() {
-       Fcd
-       mv ../tessdata/* tessdata
-       Fconf
-       Fpatchall
-       Fmake
-       rm -f java/makefile
-       Fmakeinstall
-       find $Fdestdir/usr/share/tessdata -type f -exec chmod 0644 {} \;
+  Fcd
+  [ -f Makefile.in ] || automake
+  [ -f Makefile ] || ./configure --prefix=/usr
+  Fmake
+  Fmakeinstall
+  Fmkdir usr/share/tessdata
+  cp $Fsrcdir/*.traineddata $Fdestdir/usr/share/tessdata/ || Fdie
+  find $Fdestdir/usr/share/tessdata -type f -exec chmod 0644 {} \; || Fdie
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to