wok-6.x view qps/receipt @ rev 17146

libmrss: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 13:04:01 2014 +0200 (2014-09-10)
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 }