Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 67849 Details for
Bug 105172
ebuild for KLive (Linux Kernel Live Usage Monitor)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-admin/klive-0.6.ebuild
klive-0.6.ebuild (text/plain), 1.32 KB, created by
steveb
on 2005-09-07 11:37:24 UTC
(
hide
)
Description:
app-admin/klive-0.6.ebuild
Filename:
MIME Type:
Creator:
steveb
Created:
2005-09-07 11:37:24 UTC
Size:
1.32 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: Exp $ > >inherit eutils > >S=${WORKDIR}/${PN} >DESCRIPTION="Linux Kernel Live Usage Monitor" >HOMEPAGE="http://klive.cpushare.com/" >SRC_URI="http://klive.cpushare.com/downloads/klive-${PV}.tar.bz2" >LICENSE="LGPL-2.1" >SLOT="0" >KEYWORDS="~amd64 ~alpha ~arm ~ia64 ~ppc ~x86 ~ppc64" >IUSE="" > >RDEPEND=">=dev-python/twisted-1.3.0" > >DEPEND="${RDEPEND} > sys-process/cronbase > virtual/cron > sys-apps/grep" > > >src_unpack() { > unpack ${A} || die >} > >src_compile() { :; } > >src_install () { > cd "${S}" || die > > local CMDGREP='[t]wistd -oy /usr/share/'${PN}'/'${PN}'-.*\.tac' > > # Do directory structure ># diropts -m0755 > dodir /var/tmp/${PN} > keepdir /var/tmp/${PN} > dodir /usr/share/${PN} > insinto /usr/share/${PN} > newins ${S}/client/${PN}.tac ${PN}-${PV}.tac > > # Install klive into crontab > grep -v "${CMDGREP}" ${ROOT}/etc/crontab > ${T}/crontab > echo -en "*/10 * * * *\tps x | grep -q \"$CMDGREP\" || (cd /var/tmp/${PN} && twistd -oy /usr/share/${PN}/${PN}-${PV}.tac)\n" >> ${T}/crontab > insinto /etc > doins ${T}/crontab ># crontab /etc/crontab >} > >pkg_prerm() { > local CMDGREP="[t]wistd -oy /usr/share/${PN}/${PN}-.*\.tac" > grep -v "${CMDGREP}" ${ROOT}/etc/crontab > ${T}/crontab > insinto /etc > doins ${T}/crontab ># crontab /etc/crontab >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 105172
: 67849