From e3ffae312d0c711449a03a48bfeb3b89e2d2d480 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 13 Feb 2010 21:41:58 +0000 Subject: Imported from sunrise, bug 235494, thanks Lars Wendler (Polynomial-C) for initial ebuild Package-Manager: portage-2.2_rc62/cvs/Linux x86_64 --- app-admin/procinfo-ng/ChangeLog | 12 +++++++ app-admin/procinfo-ng/Manifest | 15 +++++++++ .../files/procinfo-ng-2.0.304-as-needed.patch | 11 +++++++ app-admin/procinfo-ng/metadata.xml | 8 +++++ app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild | 37 ++++++++++++++++++++++ 5 files changed, 83 insertions(+) create mode 100644 app-admin/procinfo-ng/ChangeLog create mode 100644 app-admin/procinfo-ng/Manifest create mode 100644 app-admin/procinfo-ng/files/procinfo-ng-2.0.304-as-needed.patch create mode 100644 app-admin/procinfo-ng/metadata.xml create mode 100644 app-admin/procinfo-ng/procinfo-ng-2.0.304.ebuild (limited to 'app-admin/procinfo-ng') 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) + +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/Manifest b/app-admin/procinfo-ng/Manifest new file mode 100644 index 000000000000..f1d0ff8ca405 --- /dev/null +++ b/app-admin/procinfo-ng/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX procinfo-ng-2.0.304-as-needed.patch 441 RMD160 96abd3ab551723961e63b8ad5beb9bd134132528 SHA1 9ed570dec718f41a34b41703b7fb2487e396de1f SHA256 f33190637299d56ea1d28bec95fbb93c8e819fa001b4f44154a9a47b0f8cb74c +DIST procinfo-ng-2.0.304.tar.bz2 62469 RMD160 792823c4bd0515d5a660b0a671bea626ff3bb0ab SHA1 da2176a505bcdf65c4eadcf5a2e056fb7a3f84af SHA256 0cd944df90c1ea55b489ea64ec4863fe7f1a158f16660c58f94067e4f96786b0 +EBUILD procinfo-ng-2.0.304.ebuild 1016 RMD160 e9a8e2d5064dbc35a6af09a2f00691c624a325df SHA1 b54a8b11f5754ac879bb3efd888e07d245039039 SHA256 7107eff64d38e30583a98ba88fbd8c0998b01b56de5f72b10505b88249b6eda5 +MISC ChangeLog 489 RMD160 319926f36b9583f636f8fe6f156ddf9794d3091f SHA1 54adbeff796f5a41359bc696d2a822381048a922 SHA256 56b46120c2498eeeee9ff576e07bb947fa84a6044ac4f4befd5c2fd1b915fcad +MISC metadata.xml 219 RMD160 3db7605f2d00a829c136482bf73442d2c42245c4 SHA1 9fe91f6605a549b3b4209da9a7a3db55fd33c344 SHA256 50d56a14da2a870fc9d3e53060fb825d358af3b6334e7172fc8e3ebf467b6551 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkt3HKsACgkQgAnW8HDreRYOTQCgsn1FG8sp4Y4MPyoMAVBUBPu7 +yBcAniZXfNz670TJz61VogEI/GMrfiWy +=2OBP +-----END PGP SIGNATURE----- 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 @@ + + + +no-herd + + jlec@gentoo.org + + 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" +} -- cgit v1.2.3-65-gdbad