wok-current view yagf/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (22 months ago) |
parents | 19fff4ad1644 |
children |
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 }