wok view qtfm/receipt @ rev 25283
updated roundup (1.6.1 -> 2.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 15:58:43 2022 +0100 (2022-07-18) |
parents | 7c0170dd3ecc |
children | 0262035dc1e7 |
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 }