summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/procinfo')
-rw-r--r--app-admin/procinfo/ChangeLog9
-rw-r--r--app-admin/procinfo/procinfo-18-r2.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/app-admin/procinfo/ChangeLog b/app-admin/procinfo/ChangeLog
index 803e8b5e3044..6bb2268749a4 100644
--- a/app-admin/procinfo/ChangeLog
+++ b/app-admin/procinfo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/procinfo
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/ChangeLog,v 1.23 2010/01/20 17:04:03 cla Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/ChangeLog,v 1.24 2013/07/24 01:43:54 jer Exp $
+
+*procinfo-18-r2 (24 Jul 2013)
+
+ 24 Jul 2013; Jeroen Roovers <jer@gentoo.org> +procinfo-18-r2.ebuild:
+ Fix building against sys-libs/ncurses[tinfo] (bug #461240).
20 Jan 2010; Dawid Węgliński <cla@gentoo.org> procinfo-18-r1.ebuild,
+files/procinfo-18-stat.patch:
diff --git a/app-admin/procinfo/procinfo-18-r2.ebuild b/app-admin/procinfo/procinfo-18-r2.ebuild
new file mode 100644
index 000000000000..d0089e569acf
--- /dev/null
+++ b/app-admin/procinfo/procinfo-18-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/procinfo-18-r2.ebuild,v 1.1 2013/07/24 01:43:54 jer Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Displays some kernel stats and info on a running Linux system"
+HOMEPAGE="http://www.kozmix.org/src/"
+SRC_URI="http://www.kozmix.org/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/kernel-2.6.patch
+ epatch "${FILESDIR}"/cpu-usage-fix.patch
+ epatch "${FILESDIR}"/${PN}-flags.patch
+ epatch "${FILESDIR}"/${P}-stat.patch
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
+}
+
+src_install() {
+ dobin procinfo
+ newbin lsdev.pl lsdev
+ newbin socklist.pl socklist
+
+ doman *.8
+ dodoc README CHANGES
+}