wok-current rev 19915
Add yagf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 14 16:43:36 2017 +0200 (2017-04-14) |
parents | e6ec256b965e |
children | f18d7f8cf138 |
files | yagf/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/yagf/receipt Fri Apr 14 16:43:36 2017 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="yagf" 1.7 +VERSION="0.9.5" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="A graphical front-end for cuneiform and tesseract OCR tools." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://yagf-ocr.sourceforge.io/" 1.14 +WGET_URL="$SF_MIRROR/yagf-ocr/files/$TARBALL" 1.15 + 1.16 +DEPENDS="libQtGui libQtCore libaspell gcc-lib-base" 1.17 +BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mkdir -p build && cd build && 1.23 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.24 + make && 1.25 + make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + cp -a $install/* $fs 1.32 +}