wok-current annotate yagf/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | b537b3456464 |
children | 19fff4ad1644 |
rev | line source |
---|---|
pascal@19915 | 1 # SliTaz package receipt. |
pascal@19915 | 2 |
pascal@19915 | 3 PACKAGE="yagf" |
pascal@19915 | 4 VERSION="0.9.5" |
pascal@19915 | 5 CATEGORY="office" |
pascal@19915 | 6 SHORT_DESC="A graphical front-end for cuneiform and tesseract OCR tools." |
pascal@19915 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19915 | 8 LICENSE="GPL3" |
pascal@19915 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19915 | 10 WEB_SITE="https://yagf-ocr.sourceforge.io/" |
pascal@19915 | 11 WGET_URL="$SF_MIRROR/yagf-ocr/files/$TARBALL" |
pascal@19915 | 12 |
pascal@19916 | 13 DEPENDS="libQtGui libQtCore aspell gcc-lib-base" |
pascal@19915 | 14 BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev" |
pascal@19918 | 15 SUGGESTED="tesseract-ocr xsane" |
pascal@19915 | 16 |
pascal@24105 | 17 current_version() |
pascal@24105 | 18 { |
pascal@24105 | 19 wget -O - https://sourceforge.net/projects/yagf-ocr/files/ 2>/dev/null | \ |
pascal@24105 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" |
pascal@24105 | 21 } |
pascal@24105 | 22 |
pascal@19915 | 23 # Rules to configure and make the package. |
pascal@19915 | 24 compile_rules() |
pascal@19915 | 25 { |
pascal@19915 | 26 mkdir -p build && cd build && |
pascal@19915 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@19915 | 28 make && |
pascal@19915 | 29 make DESTDIR=$DESTDIR install |
pascal@19915 | 30 } |
pascal@19915 | 31 |
pascal@19915 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19915 | 33 genpkg_rules() |
pascal@19915 | 34 { |
pascal@19915 | 35 cp -a $install/* $fs |
pascal@19915 | 36 } |