aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2015-09-25 21:41:06 +0100
committerPaul Healy <lmiphay@gmail.com>2015-09-25 21:41:06 +0100
commitb0b806613bb5411771e3118f16a36f0884aa5535 (patch)
tree95909aa6a0624318a20b02406db3a5d4e2e5e863 /sys-process
parentadd cron as a dependency (diff)
downloadlmiphay-b0b806613bb5411771e3118f16a36f0884aa5535.tar.gz
lmiphay-b0b806613bb5411771e3118f16a36f0884aa5535.tar.bz2
lmiphay-b0b806613bb5411771e3118f16a36f0884aa5535.zip
add live ebuild for numatop
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/numatop/Manifest1
-rw-r--r--sys-process/numatop/numatop-9999.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-process/numatop/Manifest b/sys-process/numatop/Manifest
new file mode 100644
index 0000000..c422719
--- /dev/null
+++ b/sys-process/numatop/Manifest
@@ -0,0 +1 @@
+EBUILD numatop-9999.ebuild 706 SHA256 c9c0bdb6ff0b2fc1d8d762695b0573b185702fc4572db3f7911169fe1908c429 SHA512 8769dcddcd34eacf129ebde5cdb253e29f99328471823d0140ef868b692bdbe6cff7bbc870257d53af3eab07a2b88aa0546079a6bffdbeef740b0364a5cf982e WHIRLPOOL 0853d6b970267ed5c7bd42a3bf23702f10a08fd7ee70e5499f131fa0bc3101ddb160babf3ecac6db5040b0405d9ada4d0dcb53174a5649e134cb8514bdc8206e
diff --git a/sys-process/numatop/numatop-9999.ebuild b/sys-process/numatop/numatop-9999.ebuild
new file mode 100644
index 0000000..3eb0921
--- /dev/null
+++ b/sys-process/numatop/numatop-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-r3
+
+DESCRIPTION="Tool for NUMA memory locality and processes/threads analysis"
+HOMEPAGE="https://01.org/numatop"
+EGIT_REPO_URI="https://github.com/01org/numatop.git"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ sys-libs/ncurses
+ sys-process/numactl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e 's;CFLAGS;MYCFLAGS;g' "Makefile"
+ sed -i -e 's;LDFLAGS;MYLDFLAGS;g' "Makefile"
+ sed -i -e 's;-g -Wall -O2;$(CFLAGS);' "Makefile"
+ sed -i -e 's;-g;$(LDFLAGS);' "Makefile"
+ epatch_user
+}
+
+src_install() {
+ dobin numatop
+ doman numatop.8
+ dodoc README
+}