Advertisement
Guest User

Untitled

a guest
May 10th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=5
  6.  
  7. PYTHON_DEPEND="2:2.5"
  8.  
  9. inherit cmake-utils python git-2
  10.  
  11. DESCRIPTION="Daemon that controls how the Linux kernel will spend it's resources on the running processes"
  12. HOMEPAGE="https://github.com/poelzi/ulatencyd/"
  13. SRC_URI=""
  14. EGIT_REPO_URI="git://github.com/poelzi/ulatencyd.git"
  15.  
  16. LICENSE=""
  17. SLOT="0"
  18. KEYWORDS=""
  19.  
  20. IUSE="doc qt4"
  21.  
  22. DEPEND="dev-libs/dbus-glib
  23. || ( dev-lang/lua dev-lang/luajit )
  24. dev-lua/luaposix
  25. dev-python/dbus-python
  26. qt4? ( dev-python/PyQt4[dbus] )
  27. sys-process/procps[static-libs]
  28. "
  29. RDEPEND="${DEPEND}"
  30.  
  31. pkg_setup() {
  32. python_set_active_version 2
  33. python_pkg_setup
  34. append-flags -ldl
  35. }
  36.  
  37. src_install() {
  38. cmake-utils_src_install
  39. newinitd ${FILESDIR}/ulatencyd.init ${PN}
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement