wok-6.x view yagf/receipt @ rev 25495
Up expat (2.5.0), CVE-2022-43680
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 02 10:14:28 2022 +0000 (23 months ago) |
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 }