# HG changeset patch # User Christophe Lincoln # Date 1398217753 -7200 # Node ID 0e0595f9d60cfd72acb63c81fbe14958c0969796 # Parent 0a0372ced28acbe15282a702d1baa7bcf67638de ARM: add gocr diff -r 0a0372ced28a -r 0e0595f9d60c gocr/receipt --- a/gocr/receipt Wed Apr 23 03:43:46 2014 +0200 +++ b/gocr/receipt Wed Apr 23 03:49:13 2014 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gocr" -VERSION="0.49" +VERSION="0.50" CATEGORY="office" SHORT_DESC="Optical Character Recognition program." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,17 +9,17 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://jocr.sourceforge.net/" WGET_URL="http://www-e.uni-magdeburg.de/jschulen/ocr/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libpng" # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's/pnmtopng/pnm2png/' src/pnm.c - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } diff -r 0a0372ced28a -r 0e0595f9d60c xpaint/receipt --- a/xpaint/receipt Wed Apr 23 03:43:46 2014 +0200 +++ b/xpaint/receipt Wed Apr 23 03:49:13 2014 +0200 @@ -32,9 +32,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/pixmaps - cp -a $install/* $fs/ - rm -f $fs/usr/lib/*.*a - rm -r $fs/usr/share/xpaint/include + mkdir -p $fs/usr/lib $fs/usr/share/pixmaps + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/xpaint $fs/usr/share + rm -r $fs/usr/share/xpaint/include + rm -r $fs/usr/share/xpaint/c-scripts cp $stuff/xpaint.xpm $fs/usr/share/pixmaps }