wok annotate qps/receipt @ rev 24801
updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:00:57 2022 +0100 (2022-03-22) |
parents | 6135577f4d08 |
children | 0262035dc1e7 |
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 } |