wok-current rev 16668
Add tesseract-ocr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 14 12:14:30 2014 +0000 (2014-05-14) |
parents | 8aea70996e66 |
children | 84c0372a9614 |
files | leptonica-dev/receipt leptonica/receipt tesseract-ocr-dev/receipt tesseract-ocr/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/leptonica-dev/receipt Wed May 14 12:14:30 2014 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="leptonica-dev" 1.7 +VERSION="1.70" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Software for image processing and image analysis applications, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="http://www.leptonica.org/" 1.13 +WANTED="leptonica" 1.14 + 1.15 +DEPENDS="leptonica" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib/*a $fs/usr/lib 1.23 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/leptonica/receipt Wed May 14 12:14:30 2014 +0000 2.3 @@ -0,0 +1,32 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="leptonica" 2.7 +VERSION="1.70" 2.8 +CATEGORY="graphics" 2.9 +SHORT_DESC="Software for image processing and image analysis applications." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="http://www.leptonica.org/" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WGET_URL="http://www.leptonica.org/source/$TARBALL" 2.15 + 2.16 +DEPENDS="giflib jpeg libpng tiff xorg-libX11 xorg-libXau xorg-libXdmcp libxcb" 2.17 +BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev tiff-dev xorg-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./autogen.sh 2.23 + ./configure \ 2.24 + --prefix=/usr \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && make install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/lib 2.33 + cp -a $install/usr/bin $fs/usr 2.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.35 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tesseract-ocr-dev/receipt Wed May 14 12:14:30 2014 +0000 3.3 @@ -0,0 +1,21 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tesseract-ocr-dev" 3.7 +VERSION="3.02.02" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="The most accurate open source OCR engine available, development files." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="Apache" 3.12 +WEB_SITE="http://code.google.com/p/tesseract-ocr/" 3.13 +WANTED="tesseract-ocr" 3.14 + 3.15 +DEPENDS="tesseract-ocr" 3.16 + 3.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 +genpkg_rules() 3.19 +{ 3.20 + mkdir -p $fs/usr/lib 3.21 + cp -a $install/usr/include $fs/usr 3.22 + cp -a $install/usr/lib/*a $fs/usr/lib 3.23 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.24 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/tesseract-ocr/receipt Wed May 14 12:14:30 2014 +0000 4.3 @@ -0,0 +1,35 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="tesseract-ocr" 4.7 +VERSION="3.02.02" 4.8 +CATEGORY="office" 4.9 +SHORT_DESC="The most accurate open source OCR engine available." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +LICENSE="Apache" 4.12 +WEB_SITE="http://code.google.com/p/tesseract-ocr/" 4.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.14 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 4.15 + 4.16 +DEPENDS="leptonica libpng jpeg tiff giflib" 4.17 +BUILD_DEPENDS="libtool autoconf automake libpng-dev jpeg-dev tiff-dev \ 4.18 +giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev" 4.19 + 4.20 +# Rules to configure and make the package. 4.21 +compile_rules() 4.22 +{ 4.23 + ./autogen.sh 4.24 + ./configure \ 4.25 + --prefix=/usr \ 4.26 + $CONFIGURE_ARGS && 4.27 + make && make install 4.28 +} 4.29 + 4.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.31 +genpkg_rules() 4.32 +{ 4.33 + mkdir -p $fs/usr/lib 4.34 + cp -a $install/usr/bin $fs/usr 4.35 + cp -a $install/usr/share $fs/usr 4.36 + rm -rf $fs/usr/share/man 4.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 4.38 +}