wok annotate yagf/receipt @ rev 19915
Add yagf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 14 16:43:36 2017 +0200 (2017-04-14) |
parents | |
children | f18d7f8cf138 |
rev | line source |
---|---|
pascal@19915 | 1 # SliTaz package receipt. |
pascal@19915 | 2 |
pascal@19915 | 3 PACKAGE="yagf" |
pascal@19915 | 4 VERSION="0.9.5" |
pascal@19915 | 5 CATEGORY="office" |
pascal@19915 | 6 SHORT_DESC="A graphical front-end for cuneiform and tesseract OCR tools." |
pascal@19915 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19915 | 8 LICENSE="GPL3" |
pascal@19915 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19915 | 10 WEB_SITE="https://yagf-ocr.sourceforge.io/" |
pascal@19915 | 11 WGET_URL="$SF_MIRROR/yagf-ocr/files/$TARBALL" |
pascal@19915 | 12 |
pascal@19915 | 13 DEPENDS="libQtGui libQtCore libaspell gcc-lib-base" |
pascal@19915 | 14 BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev" |
pascal@19915 | 15 |
pascal@19915 | 16 # Rules to configure and make the package. |
pascal@19915 | 17 compile_rules() |
pascal@19915 | 18 { |
pascal@19915 | 19 mkdir -p build && cd build && |
pascal@19915 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@19915 | 21 make && |
pascal@19915 | 22 make DESTDIR=$DESTDIR install |
pascal@19915 | 23 } |
pascal@19915 | 24 |
pascal@19915 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19915 | 26 genpkg_rules() |
pascal@19915 | 27 { |
pascal@19915 | 28 cp -a $install/* $fs |
pascal@19915 | 29 } |