summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-13 21:41:58 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-13 21:41:58 +0000
commitc143c17da628c3fba10583dcbb7e53699ee3b1c8 (patch)
tree12b2a97cb50a301ba5e5a9107854b03c67030123 /app-admin
parentVersion bump, fix dependencies, drop patch. (diff)
downloadgentoo-2-c143c17da628c3fba10583dcbb7e53699ee3b1c8.tar.gz
gentoo-2-c143c17da628c3fba10583dcbb7e53699ee3b1c8.tar.bz2
gentoo-2-c143c17da628c3fba10583dcbb7e53699ee3b1c8.zip
Imported from sunrise, bug 235494, thanks Lars Wendler (Polynomial-C) for initial ebuild
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/procinfo-ng/ChangeLog12
-rw-r--r--app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch11
-rw-r--r--app-admin/procinfo-ng/metadata.xml8
-rw-r--r--app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild37
4 files changed, 68 insertions, 0 deletions
diff --git a/app-admin/procinfo-ng/ChangeLog b/app-admin/procinfo-ng/ChangeLog
new file mode 100644
index 000000000000..883400cadb5b
--- /dev/null
+++ b/app-admin/procinfo-ng/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-admin/procinfo-ng
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo-ng/ChangeLog,v 1.1 2010/02/13 21:41:57 jlec Exp $
+
+*procinfo-ng-2.0.304 (13 Feb 2010)
+
+ 13 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +procinfo-ng-2.0.304.ebuild, +files/procinfo-ng-2.0.304-as-needed.patch,
+ +metadata.xml:
+ Imported from sunrise, bug 235494, thanks Lars Wendler (Polynomial-C) for
+ initial ebuild
+
diff --git a/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch
new file mode 100644
index 000000000000..a489f5337879
--- /dev/null
+++ b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2009-04-27 05:33:50.000000000 +0200
++++ Makefile.in.new 2009-10-11 15:22:23.458985416 +0200
+@@ -44,7 +44,7 @@
+ cygwin_procstat.cpp cygwin_rendercpupagestat.cpp \
+ lib/routines.cpp lib/timeRoutines.cpp lib/prettyPrint.cpp \
+ Makefile
+- $(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp -o $@
++ $(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp -o $@ $(LIBS)
+
+ #procinfo.o: procinfo.cpp procinfo.h
+ # $(XX) $(CFLAGS) procinfo.cpp -o procinfo.o
diff --git a/app-admin/procinfo-ng/metadata.xml b/app-admin/procinfo-ng/metadata.xml
new file mode 100644
index 000000000000..1f3d7e1ceb36
--- /dev/null
+++ b/app-admin/procinfo-ng/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jlec@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild b/app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild
new file mode 100644
index 000000000000..f285cb4734b6
--- /dev/null
+++ b/app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild,v 1.1 2010/02/13 21:41:57 jlec Exp $
+
+EAPI="3"
+
+inherit autotools eutils
+
+DESCRIPTION="Completely rewrite of the old system monitoring app procinfo."
+HOMEPAGE="http://sourceforge.net/projects/procinfo-ng/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}
+ !app-admin/procinfo"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ # removing -s flag as portage does the stripping part and add support
+ # for custom LDFLAGS. Plus correct for --as-needed
+ sed -e 's:-s -lncurses:${LDFLAGS}:' \
+ -i configure.in || die "sed configure.in failed"
+ eautoreconf
+}
+
+src_compile() {
+ emake LIBS="-lncurses" || die "compile failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+}