wok-current view qtfm/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 7c0170dd3ecc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtfm"
4 VERSION="5.9"
5 CATEGORY="x-window"
6 SHORT_DESC="Small and lightweight file manager using QT library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://qtfm.eu/"
11 # "official" is v.5.5, but here is newer:
12 # http://qt-apps.org/content/show.php/QtFM?content=158787
13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
15 DEPENDS="libQtGui libQtNetwork libmagic"
16 BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 lrelease $src/translations/*.ts
29 qmake && make && make INSTALL_ROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -rf $fs/usr/share/doc
37 }