wok view qtfm/receipt @ rev 25014
updated opencc, openss-dev and opencc-tools (1.0.5 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 17 07:50:08 2022 +0100 (2022-05-17) |
parents | 6135577f4d08 |
children | 77ec99338524 |
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="http://qt-apps.org/CONTENT/content-files/158787-qtfm.zip"
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 }