summaryrefslogtreecommitdiff
path: root/app-misc/ttyload
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/ttyload')
-rw-r--r--app-misc/ttyload/Manifest3
-rw-r--r--app-misc/ttyload/metadata.xml12
-rw-r--r--app-misc/ttyload/ttyload-0.5.3.ebuild36
3 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/ttyload/Manifest b/app-misc/ttyload/Manifest
new file mode 100644
index 000000000000..528f15a2f824
--- /dev/null
+++ b/app-misc/ttyload/Manifest
@@ -0,0 +1,3 @@
+DIST ttyload-0.5.3.tar.bz2 15039 SHA256 7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783 SHA512 1affc171fd569d4127d7a51dda5764272e554a96db6ad4418ff6120f9b0e573679b33d45797adcb667216d167e9f3ee41349a53d4f7808b3b1c5bed76e3f4bbb WHIRLPOOL 469011ee2acc6e785ecbbe957a6ebe6e88e0d97cee9b3872d663a7ed907768167aaf2c8113d853de905db84ec96a03c6798926013a7aed76f9ebd70807b0c500
+EBUILD ttyload-0.5.3.ebuild 715 SHA256 4bdab66f8c75dbf453c74803966091cf667c4a6c86a2188ccfa54ad870976344 SHA512 c29bee509b9788891adb4971439cc2333a3f3856f1063aef12036314e33e4e2ec946ef20d7bd2f692ecb74c68e7211572f3d80e60e682fa0b57847047d4234c4 WHIRLPOOL c8feb18d7a39d1ddd2b912b9b2d08f486b5f6fa5adcb11e21a3e45b30f0f9222a0b87d67583aae6cab3973e640b89d82102ed89415b8a7201dfecdfaac1599f4
+MISC metadata.xml 377 SHA256 3684c43060a9b340ca7710c1697b9c3cd8b6218f6bda4ebadd23cc6661dc4748 SHA512 7db7620ce42324e2a551b2fa5898aab491c868b5d28b938e163ea1bf24aed66913fff8d611e95c634e65aa5372bed9314a55b278d62157929d6873cea7994bd6 WHIRLPOOL c704ca2f5573778786616e592f36f8cd6ed3003f981ecdb5287bfbd882fff0d93e423f38999fb24e7f0e5e813e922e7f64c0de7c364974637141514062af6b61
diff --git a/app-misc/ttyload/metadata.xml b/app-misc/ttyload/metadata.xml
new file mode 100644
index 000000000000..94248608af4d
--- /dev/null
+++ b/app-misc/ttyload/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ttyload/ttyload-0.5.3.ebuild b/app-misc/ttyload/ttyload-0.5.3.ebuild
new file mode 100644
index 000000000000..0ef762b01215
--- /dev/null
+++ b/app-misc/ttyload/ttyload-0.5.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="color-coded graph of load averages over time"
+HOMEPAGE="http://www.daveltd.com/src/util/ttyload https://github.com/lindes/ttyload"
+SRC_URI="http://www.daveltd.com/src/util/${PN}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="sys-libs/ncurses:0="
+
+RESTRICT="test"
+
+DOCS=( BUGS HISTORY LICENSE README.md TODO )
+
+src_prepare() {
+ default
+ sed -i '10i#include <time.h>' "${PN}.h" || die
+ sed -i -e "s#make#$\(MAKE\)#" Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}