wok-current view qps/receipt @ rev 17602

appdata-tools: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:09:07 2015 +0100 (2015-02-12)
parents e86fa9b12f05
children 6135577f4d08
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="http://kldp.net/projects/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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|/local||g' qps.pro
21 sed -i 's|man/man1|applications|g' qps.pro
22 sed -i 's|qps.1|qps.desktop|g' qps.pro
23 sed -i 's/qps.xpm/utilities-system-monitor/g' qps.desktop
25 qmake && sed -i 's/-O2/-Os/g' Makefile && make
26 make INSTALL_ROOT=$install install
27 rm -rf $src/.obj
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }