wok-current annotate yagf/receipt @ rev 23006
consonance: inserted LDFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 06:48:05 2020 +0100 (2020-03-03) |
parents | f18d7f8cf138 |
children | c365fe17a816 |
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@19916 | 13 DEPENDS="libQtGui libQtCore aspell gcc-lib-base" |
pascal@19915 | 14 BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev" |
pascal@19918 | 15 SUGGESTED="tesseract-ocr xsane" |
pascal@19915 | 16 |
pascal@19915 | 17 # Rules to configure and make the package. |
pascal@19915 | 18 compile_rules() |
pascal@19915 | 19 { |
pascal@19915 | 20 mkdir -p build && cd build && |
pascal@19915 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@19915 | 22 make && |
pascal@19915 | 23 make DESTDIR=$DESTDIR install |
pascal@19915 | 24 } |
pascal@19915 | 25 |
pascal@19915 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19915 | 27 genpkg_rules() |
pascal@19915 | 28 { |
pascal@19915 | 29 cp -a $install/* $fs |
pascal@19915 | 30 } |