wok view yagf/receipt @ rev 24216
updated perl-gtk2-trayicon (0.06 -> 0.07)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:29:31 2021 +0100 (2021-12-31) |
parents | b537b3456464 |
children | 19fff4ad1644 |
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://yagf-ocr.sourceforge.io/"
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 }