wok-current view qps/receipt @ rev 21127

gejengel: imagemagick 7 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 21:23:37 2019 +0100 (2019-03-20)
parents f2896fd0d468
children b569b85b0fb9
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 # 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 }