summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-19 21:24:55 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-19 21:24:55 +0000
commitac6008d4eb9e84af0dc008e50254f4d1a2635972 (patch)
tree93b5971b33918cfcd6e2a5e7f9aa8fdbabf756a8 /sys-process/latencytop
parentUSE suid is there only to warn users, but it's basically useless with it disa... (diff)
downloadgentoo-2-ac6008d4eb9e84af0dc008e50254f4d1a2635972.tar.gz
gentoo-2-ac6008d4eb9e84af0dc008e50254f4d1a2635972.tar.bz2
gentoo-2-ac6008d4eb9e84af0dc008e50254f4d1a2635972.zip
Initial ebuild by me.
(Portage version: 2.1.4)
Diffstat (limited to 'sys-process/latencytop')
-rw-r--r--sys-process/latencytop/ChangeLog8
-rw-r--r--sys-process/latencytop/Manifest16
-rw-r--r--sys-process/latencytop/files/digest-latencytop-0.13
-rw-r--r--sys-process/latencytop/latencytop-0.1.ebuild43
-rw-r--r--sys-process/latencytop/metadata.xml5
5 files changed, 75 insertions, 0 deletions
diff --git a/sys-process/latencytop/ChangeLog b/sys-process/latencytop/ChangeLog
new file mode 100644
index 000000000000..590f540d84a6
--- /dev/null
+++ b/sys-process/latencytop/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sys-process/latencytop
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v 1.1 2008/01/19 21:24:55 vapier Exp $
+
+*latencytop-0.1 (19 Jan 2008)
+
+ 19 Jan 2008; Mike Frysinger <vapier@gentoo.org> +latencytop-0.1.ebuild:
+ Initial ebuild by me.
diff --git a/sys-process/latencytop/Manifest b/sys-process/latencytop/Manifest
new file mode 100644
index 000000000000..03e15a360dcc
--- /dev/null
+++ b/sys-process/latencytop/Manifest
@@ -0,0 +1,16 @@
+DIST latencytop-0.1.tar.gz 6356 RMD160 5f5121dd6fa86a29e3e35829b2d5330eddf7c841 SHA1 1a6f482f99f6b79720702050973120536d2249f9 SHA256 76741c5917ddec57132f470272251acff6afc7b90ed9d6da458ee972fdf5dfdd
+EBUILD latencytop-0.1.ebuild 1005 RMD160 e3ea54b88bb7b406d1d602c0523a6f77b30972d9 SHA1 f5e89b7f7f35020fb27a293021561c71cee70e30 SHA256 aa9b07664c390f9190e5f89d14204cb063280667d0499a442609c21628187d69
+MD5 683aac17ff643f8491e779638e0b2a3c latencytop-0.1.ebuild 1005
+RMD160 e3ea54b88bb7b406d1d602c0523a6f77b30972d9 latencytop-0.1.ebuild 1005
+SHA256 aa9b07664c390f9190e5f89d14204cb063280667d0499a442609c21628187d69 latencytop-0.1.ebuild 1005
+MISC ChangeLog 252 RMD160 1f7e803e1d5d917be1afa0accdb4a55a58a43979 SHA1 8a202929d92d05d1cb918f3b46b2960df4d292f0 SHA256 47ee40fdfe9c7579b092eeeaad3e5442a6e27738c56c28a78f45d7ca0faa4151
+MD5 da93f421e593aac9e99e94a9b90d0a10 ChangeLog 252
+RMD160 1f7e803e1d5d917be1afa0accdb4a55a58a43979 ChangeLog 252
+SHA256 47ee40fdfe9c7579b092eeeaad3e5442a6e27738c56c28a78f45d7ca0faa4151 ChangeLog 252
+MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
+SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
+MD5 9ab087dad2f4d87b4e3c5b8d5233198a files/digest-latencytop-0.1 238
+RMD160 0ad5923e4d5b029044b7241e5524ac0448043af2 files/digest-latencytop-0.1 238
+SHA256 83fe31f7edbe06024befdb7ae5e4c0f68de9aa8eb6090aed8064735444087e76 files/digest-latencytop-0.1 238
diff --git a/sys-process/latencytop/files/digest-latencytop-0.1 b/sys-process/latencytop/files/digest-latencytop-0.1
new file mode 100644
index 000000000000..33097f720775
--- /dev/null
+++ b/sys-process/latencytop/files/digest-latencytop-0.1
@@ -0,0 +1,3 @@
+MD5 e9f608cc1bda3f2700029d5b6d1607ad latencytop-0.1.tar.gz 6356
+RMD160 5f5121dd6fa86a29e3e35829b2d5330eddf7c841 latencytop-0.1.tar.gz 6356
+SHA256 76741c5917ddec57132f470272251acff6afc7b90ed9d6da458ee972fdf5dfdd latencytop-0.1.tar.gz 6356
diff --git a/sys-process/latencytop/latencytop-0.1.ebuild b/sys-process/latencytop/latencytop-0.1.ebuild
new file mode 100644
index 000000000000..170180acbc88
--- /dev/null
+++ b/sys-process/latencytop/latencytop-0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/latencytop-0.1.ebuild,v 1.1 2008/01/19 21:24:55 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="tool for identifying where in the system latency is happening"
+HOMEPAGE="http://www.latencytop.org/"
+SRC_URI="http://www.latencytop.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="unicode"
+
+RDEPEND="=dev-libs/glib-2*
+ sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:latencytop.trans:/usr/share/misc/latencytop.trans:' latencytop.c || die
+}
+
+src_compile() {
+ # this sucks, but makefile is worse (for now)
+ use_echo() { use $1 && echo $2 || echo $3 ; }
+ $(tc-getCC) \
+ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
+ $(pkg-config glib-2.0 --cflags) \
+ *.c -o latencytop \
+ $(pkg-config glib-2.0 --libs) \
+ $(use_echo unicode -lncursesw -lncurses) \
+ || die
+}
+
+src_install() {
+ dosbin latencytop || die
+ insinto /usr/share/misc
+ doins latencytop.trans || die
+}
diff --git a/sys-process/latencytop/metadata.xml b/sys-process/latencytop/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-process/latencytop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>