wok diff tesseract-ocr/receipt @ rev 17157

syslinux: fix rockridge (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 15 23:31:45 2014 +0200 (2014-09-15)
parents
children 8417cbe6fdae
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tesseract-ocr/receipt	Mon Sep 15 23:31:45 2014 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tesseract-ocr"
     1.7 +VERSION="3.02.02"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="The most accurate open source OCR engine available."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Apache"
    1.12 +WEB_SITE="http://code.google.com/p/tesseract-ocr/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +DEPENDS="leptonica libpng jpeg tiff giflib"
    1.17 +BUILD_DEPENDS="libtool autoconf automake libpng-dev jpeg-dev tiff-dev \
    1.18 +giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./autogen.sh
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make && make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share $fs/usr
    1.36 +	rm -rf $fs/usr/share/man
    1.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +}