wok view qps/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | 6135577f4d08 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qps"
4 VERSION="1.10.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Advanced process monitor (taskmanager)"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxqt/qps"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://kldp.net/frs/download.php/5963/$TARBALL"
13 DEPENDS="libQtGui libQtDBus libQtXml"
14 BUILD_DEPENDS="Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i 's|/local||g' qps.pro
28 sed -i 's|man/man1|applications|g' qps.pro
29 sed -i 's|qps.1|qps.desktop|g' qps.pro
30 sed -i 's/qps.xpm/utilities-system-monitor/g' qps.desktop
32 qmake && sed -i 's/-O2/-Os/g' Makefile && make
33 make INSTALL_ROOT=$install install
34 rm -rf $src/.obj
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }