qps-1.10.16-r1.ebuild 714 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils qmake-utils
  5. DESCRIPTION="Visual process manager - Qt version of ps/top"
  6. HOMEPAGE="http://qps.kldp.net/projects/qps/"
  7. SRC_URI="http://kldp.net/frs/download.php/5963/${P}.tar.bz2"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="debug"
  12. DEPEND="dev-qt/qtcore:4
  13. dev-qt/qtdbus:4
  14. dev-qt/qtgui:4"
  15. RDEPEND="${DEPEND}"
  16. src_prepare() {
  17. default
  18. sed -i -e '/strip/d' ${PN}.pro || die "sed failed"
  19. }
  20. src_configure() {
  21. eqmake4 ${PN}.pro
  22. }
  23. src_install() {
  24. dobin ${PN}
  25. doman ${PN}.1
  26. einstalldocs
  27. newicon icon/icon.xpm ${PN}.xpm
  28. make_desktop_entry ${PN} ${PN} ${PN} "System;"
  29. }