]> Pileus Git - ~andy/sunrise/commitdiff
app-admin/procinfo-ng: Initial commit of app-admin/procinfo-ng
authorJustin Lecher <jlec@gentoo.org>
Thu, 22 Jan 2009 10:30:38 +0000 (10:30 +0000)
committerJustin Lecher <jlec@gentoo.org>
Thu, 22 Jan 2009 10:30:38 +0000 (10:30 +0000)
svn path=/sunrise/; revision=7761

app-admin/procinfo-ng/ChangeLog [new file with mode: 0644]
app-admin/procinfo-ng/Manifest [new file with mode: 0644]
app-admin/procinfo-ng/files/procinfo-ng-2.0.217-as-needed.patch [new file with mode: 0644]
app-admin/procinfo-ng/metadata.xml [new file with mode: 0644]
app-admin/procinfo-ng/procinfo-ng-2.0.217.ebuild [new file with mode: 0644]

diff --git a/app-admin/procinfo-ng/ChangeLog b/app-admin/procinfo-ng/ChangeLog
new file mode 100644 (file)
index 0000000..758f4e8
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/procinfo-ng
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  22 Jan 2009; justin Lecher (jlec) <jlec@j-schmitz.net>
+  +files/procinfo-ng-2.0.217-as-needed.patch, +metadata.xml,
+  +procinfo-ng-2.0.217.ebuild:
+  Initial commit 
+  tracking in bug 235494 
+  Thanks to Polynomial-C for first ebuild
+
diff --git a/app-admin/procinfo-ng/Manifest b/app-admin/procinfo-ng/Manifest
new file mode 100644 (file)
index 0000000..408b989
--- /dev/null
@@ -0,0 +1,5 @@
+AUX procinfo-ng-2.0.217-as-needed.patch 454 RMD160 d3192ffd74b4cee525ece94599cede2f297d533f SHA1 c3465693a360eab5e79a8d42669f3b172c46ca1f SHA256 f0543729e474a365a98457d229b83ab5b8ba4fe9c867aa81c472e8f8ae6369cb
+DIST procinfo-ng-2.0.217.tar.bz2 59249 RMD160 9c16817aaf07772d1894fd14a5475b504b320d4e SHA1 5321dd5ec3c64d86dd8af3ff5ebc7d29fb7eea71 SHA256 89f2e7b8c6961948be59c94967c2dc2146f2a7769ebe38e4591d85d2f0c828ef
+EBUILD procinfo-ng-2.0.217.ebuild 924 RMD160 127e45b4a5aa3a6254d121f702e42cc892d6f097 SHA1 1a04e0be598ebb2d4129f2cd96f4a78fb7736ee6 SHA256 4c9029314586259465b6ac26af2d22801464dcbf1b9e0d45fa309a77d572eeb0
+MISC ChangeLog 3666 RMD160 497869ed9d456ae70b14b93dabbc79fe52d88386 SHA1 f84f1a837e21cfa1eb06fc2e2e322901c3914067 SHA256 08745892786d229b363d6757170ec9a6a471b4c99d9ed62ebae372185131a1b4
+MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
diff --git a/app-admin/procinfo-ng/files/procinfo-ng-2.0.217-as-needed.patch b/app-admin/procinfo-ng/files/procinfo-ng-2.0.217-as-needed.patch
new file mode 100644 (file)
index 0000000..58df79a
--- /dev/null
@@ -0,0 +1,11 @@
+--- Makefile.in        2008-08-22 06:55:32.000000000 +0200
++++ Makefile.in.new    2009-01-22 10:38:23.000000000 +0100
+@@ -44,7 +44,7 @@
+ linux26_procstat.cpp linux26_rendercpupagestat.cpp linux26_netstat.cpp \
+ cygwin_procstat.cpp cygwin_rendercpupagestat.cpp \
+ Makefile
+-      $(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp -o $@
++      $(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp $(LIBS) -o $@
+ #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 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/app-admin/procinfo-ng/procinfo-ng-2.0.217.ebuild b/app-admin/procinfo-ng/procinfo-ng-2.0.217.ebuild
new file mode 100644 (file)
index 0000000..2a4f281
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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_unpack() {
+       unpack ${A}
+       cd "${S}"
+       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() {
+       econf
+       emake LIBS="-lncurses" || die "compile failed"
+}
+
+src_install() {
+       emake install DESTDIR="${D}" || "install failed"
+}
+