summaryrefslogtreecommitdiff
path: root/app-admin/procinfo-ng
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/procinfo-ng
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/procinfo-ng')
-rw-r--r--app-admin/procinfo-ng/Manifest7
-rw-r--r--app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch11
-rw-r--r--app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch11
-rw-r--r--app-admin/procinfo-ng/metadata.xml11
-rw-r--r--app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild40
5 files changed, 80 insertions, 0 deletions
diff --git a/app-admin/procinfo-ng/Manifest b/app-admin/procinfo-ng/Manifest
new file mode 100644
index 000000000000..8367ab2a66e9
--- /dev/null
+++ b/app-admin/procinfo-ng/Manifest
@@ -0,0 +1,7 @@
+AUX procinfo-ng-2.0.304-as-needed.patch 441 SHA256 f33190637299d56ea1d28bec95fbb93c8e819fa001b4f44154a9a47b0f8cb74c SHA512 70a95c828a7a9bcea8559e1709bfcb2a88fd53a9aaf3c58c51faa04f32b50ec2f0db2705f6093e06ae0efdf2aafa7854b9f7aadf072ee8cd667fb2dce48e5ba0 WHIRLPOOL 3998f9684da975b74def71fd7898fba267b149067dc9abf4fa1f41529eca30583095af81bb1187ee3d38f76cd9ceef96c7a87d7597e4ec12c76f4d2b261874ef
+AUX procinfo-ng-2.0.304-man.patch 243 SHA256 ad2482e17513bec7a2bc08e15585126448ae797d71a0af15b47d5533f531aa7f SHA512 2541b4738e6323627625e7d65ee2ddc88d61e76f7b5bfbd382472d048ad21e3b63eb8a92feb7af6e62ac54045aa25ffbdfe36d67c1a4dc0c7a7be9abeb5ba9ed WHIRLPOOL ba0b05c8f4bdc9b216da2da6b4b47ce2dccd1a8be1be40167057427afcb0561cd229aa1042481ccd96d604c35b080600f7088a3879f9737c9e915fa9e6bff75c
+DIST procinfo-ng-2.0.304.tar.bz2 62469 SHA256 0cd944df90c1ea55b489ea64ec4863fe7f1a158f16660c58f94067e4f96786b0 SHA512 db336d2ff3bb3b31ac83a51a9d273fae8d16d36bd805f548eda06cb501699473fd8e4b4f9b722165fbf685d76c3fc09bfea9e516eabc37a888e2fae7679c08cf WHIRLPOOL 376048ba76414384dc9a804af5c22064181941b5663cf2f3817b5ba1429a573068235877324a7adec40dc82a539597224e36839333eacaa74f4c67dbd8b82ef3
+EBUILD procinfo-ng-2.0.304-r1.ebuild 929 SHA256 3e1c6ea9e5fa105d6676ad904874c54386d986726d1f6bcbb64098d7ab473639 SHA512 7ddd5610fb89bb0b672c4e232905ffdefd596c1c0971629ca01a82e271f1354940789e639052072c8083b563c04494d5d12b9ab1f645b00ed24667a3ed4f5a86 WHIRLPOOL afbaa2a7c6ecf7a072dd4e11328b1af996c9d2145b50fc5777a820abc6c926092b636a17bf6df39d567d9cd373b0cb5a8537a6ce44593939fadb1aba26fd035a
+MISC ChangeLog 2799 SHA256 024b787089927aa27125869b308e1f128eb5586371dc17409503e44dbc80f49e SHA512 0e56c59640cdfc2236f2f2f6d87bcf920edb144202b84d30301fe7bf272d8a77401cf22579450c6f6ffe7d033142eb3c5b0347aba5eeda25642b8feaa139e9e3 WHIRLPOOL 54b27100508fcf9d48582649156530849bf4ec3634e2254bb62c277148d9af6cd2924a133737a49eee6af414d44b200f20496eeb9640978939e6d19fcaa6e4ee
+MISC ChangeLog-2015 1806 SHA256 bd260df95404139d327b2797a1f9aade3bed515f6d60a6cb3593dd92b8bf8bcb SHA512 1d15849f056c84e953398cc6816b879f984c1507017ada4834d7154f305e095e2a89a320cd0f7f3fe4061e9d6b1c713edcc9d2cdc686319b7b78b44e275079fa WHIRLPOOL 658e7d2029ad2045ed87075a4ab802944a64fc5efda043fdb584487d2c150828a65f8d1b13bc96ac35d8c46f00f4ee5f848397319faac99ac717b5305e23b4b0
+MISC metadata.xml 356 SHA256 fdb9a034009275bf682931f8cdccc69e080b6fbab5f56f4d474bef06144c85f4 SHA512 3b442e3aff5a26f504f930a0698b376cb0091daa868579ea436aad142222b101c88ace8faaf8fdf9e79dfdb2c7feaeb44f863c0b0d43e7ec85237c56e892255e WHIRLPOOL a0e86569bb42536ecf9123560c1d62b97aab125459af8c3e5ff2fd3655b3c12cc22bd8ee558e60f6cafe7d6173cb134741e0624886f2ac699d672f8b9127357a
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/files/procinfo-ng-2.0.304-man.patch b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch
new file mode 100644
index 000000000000..ce818fcd3e77
--- /dev/null
+++ b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch
@@ -0,0 +1,11 @@
+--- procinfo-ng-2.0.217/procinfo.8.orig 2009-01-11 11:21:23.000000000 +0100
++++ procinfo-ng-2.0.217/procinfo.8 2009-01-11 11:21:48.000000000 +0100
+@@ -6,7 +6,7 @@
+ .SH SYNOPSIS
+ .B procinfo
+ [
+-.IR \-fdDSbrhv
++.IR \-dDSbrhv
+ ] [
+ .IR \-n N
+ ]
diff --git a/app-admin/procinfo-ng/metadata.xml b/app-admin/procinfo-ng/metadata.xml
new file mode 100644
index 000000000000..91691a0324a8
--- /dev/null
+++ b/app-admin/procinfo-ng/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">procinfo-ng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild b/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild
new file mode 100644
index 000000000000..9cdb4c9c0fd6
--- /dev/null
+++ b/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Completely rewrite of the old system monitoring app procinfo"
+HOMEPAGE="https://sourceforge.net/projects/procinfo-ng/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="amd64 hppa x86"
+IUSE=""
+
+RDEPEND="
+ sys-libs/ncurses
+ !app-admin/procinfo"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-man.patch
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+ # 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="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}