wok rev 16482
ARM: add gocr
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 03:49:13 2014 +0200 (2014-04-23) |
parents | 0a0372ced28a |
children | 4d79baae0a6b |
files | gocr/receipt xpaint/receipt |
line diff
1.1 --- a/gocr/receipt Wed Apr 23 03:43:46 2014 +0200 1.2 +++ b/gocr/receipt Wed Apr 23 03:49:13 2014 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gocr" 1.7 -VERSION="0.49" 1.8 +VERSION="0.50" 1.9 CATEGORY="office" 1.10 SHORT_DESC="Optical Character Recognition program." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -9,17 +9,17 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WEB_SITE="http://jocr.sourceforge.net/" 1.15 WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" 1.16 +HOST_ARCH="i486 arm" 1.17 1.18 DEPENDS="libpng" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 sed -i 's/pnmtopng/pnm2png/' src/pnm.c 1.25 - ./configure --prefix=/usr \ 1.26 - --mandir=/usr/share/man \ 1.27 - $CONFIGURE_ARGS && 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + $CONFIGURE_ARGS && 1.31 make && 1.32 make DESTDIR=$DESTDIR install 1.33 }
2.1 --- a/xpaint/receipt Wed Apr 23 03:43:46 2014 +0200 2.2 +++ b/xpaint/receipt Wed Apr 23 03:49:13 2014 +0200 2.3 @@ -32,9 +32,11 @@ 2.4 # Rules to gen a SliTaz package suitable for Tazpkg. 2.5 genpkg_rules() 2.6 { 2.7 - mkdir -p $fs/usr/share/pixmaps 2.8 - cp -a $install/* $fs/ 2.9 - rm -f $fs/usr/lib/*.*a 2.10 - rm -r $fs/usr/share/xpaint/include 2.11 + mkdir -p $fs/usr/lib $fs/usr/share/pixmaps 2.12 + cp -a $install/usr/bin $fs/usr 2.13 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.14 + cp -a $install/usr/share/xpaint $fs/usr/share 2.15 + rm -r $fs/usr/share/xpaint/include 2.16 + rm -r $fs/usr/share/xpaint/c-scripts 2.17 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps 2.18 }