summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/slurm/slurm-0.3.3-r1.ebuild')
-rw-r--r--net-analyzer/slurm/slurm-0.3.3-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/slurm/slurm-0.3.3-r1.ebuild b/net-analyzer/slurm/slurm-0.3.3-r1.ebuild
new file mode 100644
index 000000000000..f582f8e443c6
--- /dev/null
+++ b/net-analyzer/slurm/slurm-0.3.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="Realtime network interface monitor based on FreeBSD's pppstatus"
+HOMEPAGE="http://www.wormulon.net/projects/slurm"
+SRC_URI="http://www.wormulon.net/files/code/slurm/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-overflow.patch \
+ "${FILESDIR}"/${P}-theme.patch
+ eautoreconf
+}
+
+src_install() {
+ # binary
+ dobin slurm
+
+ # themes to use with -t option
+ insinto /usr/share/${PN}/themes
+ doins themes/*.theme
+
+ # manual and other docs
+ doman slurm.1
+ dodoc AUTHORS ChangeLog COPYRIGHT FAQ KEYS README THANKS \
+ THEMES.txt TODO
+}