wok view yagf/receipt @ rev 25470
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 10:48:59 2022 +0000 (2022-10-07) |
parents | c365fe17a816 |
children | 69e1e705f038 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yagf"
4 VERSION="0.9.5"
5 CATEGORY="office"
6 SHORT_DESC="A graphical front-end for cuneiform and tesseract OCR tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/yagf-ocr"
11 WGET_URL="$SF_MIRROR/yagf-ocr/files/$TARBALL"
13 DEPENDS="libQtGui libQtCore aspell gcc-lib-base"
14 BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev"
15 SUGGESTED="tesseract-ocr xsane"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/yagf-ocr/files/ 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p build && cd build &&
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }