wok-current annotate qps/receipt @ rev 24331

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