wok-next annotate qps/receipt @ rev 17155
tup: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 14 09:47:19 2014 +0200 (2014-09-14) |
parents | e86fa9b12f05 |
children | f31065ec4855 |
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" |
psychomaniak@17105 | 9 WEB_SITE="http://kldp.net/projects/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 |
psychomaniak@17105 | 16 # Rules to configure and make the package. |
psychomaniak@17105 | 17 compile_rules() |
psychomaniak@17105 | 18 { |
psychomaniak@17105 | 19 cd $src |
psychomaniak@17105 | 20 sed -i 's|/local||g' qps.pro |
psychomaniak@17105 | 21 sed -i 's|man/man1|applications|g' qps.pro |
psychomaniak@17105 | 22 sed -i 's|qps.1|qps.desktop|g' qps.pro |
psychomaniak@17105 | 23 sed -i 's/qps.xpm/utilities-system-monitor/g' qps.desktop |
psychomaniak@17105 | 24 |
psychomaniak@17108 | 25 qmake && sed -i 's/-O2/-Os/g' Makefile && make |
psychomaniak@17105 | 26 make INSTALL_ROOT=$install install |
psychomaniak@17105 | 27 rm -rf $src/.obj |
psychomaniak@17105 | 28 } |
psychomaniak@17105 | 29 |
psychomaniak@17105 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17105 | 31 genpkg_rules() |
psychomaniak@17105 | 32 { |
psychomaniak@17105 | 33 cp -a $install/* $fs |
psychomaniak@17105 | 34 } |