From 29f6b3a5fc9f81203eb89d9c67a9bc2370aa0f1d Mon Sep 17 00:00:00 2001 From: Michele Noberasco Date: Tue, 12 Feb 2008 16:10:44 +0000 Subject: Revision bump, see bug #207804. Package-Manager: portage-2.1.3.19 --- x11-plugins/wmSMPmon/ChangeLog | 7 +++- x11-plugins/wmSMPmon/Manifest | 4 +- .../wmSMPmon/files/wmSMPmon-3.1-makefile.patch | 45 ++++++++++++++++++++++ x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild | 37 ++++++++++++++++++ 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch create mode 100644 x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/wmSMPmon/ChangeLog b/x11-plugins/wmSMPmon/ChangeLog index ba4e2672864a..776bfbc024cf 100644 --- a/x11-plugins/wmSMPmon/ChangeLog +++ b/x11-plugins/wmSMPmon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/wmSMPmon # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSMPmon/ChangeLog,v 1.15 2007/07/22 05:33:14 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSMPmon/ChangeLog,v 1.16 2008/02/12 16:10:43 s4t4n Exp $ + +*wmSMPmon-3.1-r1 (12 Feb 2008) + + 12 Feb 2008; Michele Noberasco +wmSMPmon-3.1-r1.ebuild: + Revision bump, see bug #207804. 22 Jul 2007; Donnie Berkholz ; wmSMPmon-2.3.ebuild, wmSMPmon-3.1.ebuild: diff --git a/x11-plugins/wmSMPmon/Manifest b/x11-plugins/wmSMPmon/Manifest index ff4f98941bc3..910cf239280b 100644 --- a/x11-plugins/wmSMPmon/Manifest +++ b/x11-plugins/wmSMPmon/Manifest @@ -1,6 +1,8 @@ +AUX wmSMPmon-3.1-makefile.patch 1301 RMD160 29c7425d91bee7ea24548ad011ec3fb585f65304 SHA1 529aac3a36b035d62d03510692f24b74d41713f8 SHA256 be2853a5215c3795d054e1b5dd886b1891ab73da85a9779917f9434494d1e506 DIST wmSMPmon-2.3.tar.gz 16413 RMD160 2c95b70488d33b811bd261b0cbb4aad26c845e86 SHA1 90d6665e7314fd4e5dd21cde5d90abd887e519cf SHA256 1d21545c8dc305bc08eaf727203d5a77b34c2e863c00e43da05e77bdba82698f DIST wmSMPmon-3.1.tar.gz 24834 RMD160 2fc70ab4b12008e67bc35d36c4ad62f6d11a8f43 SHA1 18b2811382e61c694d749cc28473e6db0109da3f SHA256 13ca4cfe325c35215e7b3357dc61985159015bd3a870a548ec70edc0914011e7 EBUILD wmSMPmon-2.3.ebuild 722 RMD160 2e0eaf4a68a4343b5b6624980bf6a50482cd85a5 SHA1 aca1421c3db2f9b995a58e8d8ac46bf99716e64d SHA256 e9c1609dadbfd2c7aee7a36928e4ce5c9d9c4b2ba70cb7504cbbf38aae46f8de +EBUILD wmSMPmon-3.1-r1.ebuild 892 RMD160 fc4db9813920d4aa38a0aef2feab53f1460eebe8 SHA1 ab61a41f07a8338e492e5f525bed8c7946b63f86 SHA256 78bc6a2c3c23021505e47e2f5fc3acbe73274084a3c6c0469821c1650649430d EBUILD wmSMPmon-3.1.ebuild 753 RMD160 d1f527b9849e31d23148404f1af776c8d0c38679 SHA1 71933f55e17559721bea55779e092b8e5477b17d SHA256 3882e052993e24e8dda99dccb7defab87aefaf2906a24c7a6828d80935701555 -MISC ChangeLog 1880 RMD160 078ec889a5a2c23c7ca386d8371ac26a02d79896 SHA1 fe0dcf9928077a0eab68cc5f5c3d95ccb73287d4 SHA256 03969b72c0fa0dd9a60cbcf9f499118f48d4c3082a761fb7e3dd97fda7526cb4 +MISC ChangeLog 2020 RMD160 00cda397c7edee8a0cc7149491e3d68a8200a7b2 SHA1 89e9cb3a99ed8d76300b26bc185c774aff12bd51 SHA256 3eb44917641b7147f125f6c0d5343187ba3b2c8db9c3d7a1f212e78379668efb MISC metadata.xml 295 RMD160 683a7e794d74e5ec1f1f94f558f962e57387b09a SHA1 c240b21fc106a70b17e2b9573c74e6aeeb25270e SHA256 c7106e6d54f9aacf38842fd34744f63c279bdc835e2624069b3bfc94737cb744 diff --git a/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch new file mode 100644 index 000000000000..1bd27f47c0f1 --- /dev/null +++ b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch @@ -0,0 +1,45 @@ +--- Makefile.orig 2005-02-22 23:24:23.000000000 +0100 ++++ Makefile 2008-01-28 00:12:33.000000000 +0100 +@@ -2,22 +2,24 @@ + # Adapted for wmSMPmon 2.9.x and higher: Thomas Ribbrock + + # Change the following two to determine installation location +-BINDIR=/usr/local/bin/ +-MANDIR=/usr/local/share/man/ ++PREFIX=/usr ++BINDIR=$(PREFIX)/bin ++MANDIR=$(PREFIX)/share/man + + SRC = general.c sysinfo-linux.c ../wmgeneral/wmgeneral.c wmSMPmon.c + EXE = wmSMPmon + MAN = wmSMPmon.1 + OBJ = $(SRC:.c=.o) + INSTALL = /usr/bin/install +-INSTALLEXEFLAGS = -m 755 -s ++INSTALLEXEFLAGS = -m 755 + INSTALLMANFLAGS = -m 644 +-CC = gcc +-CFLAGS = -Wall -O2 -g +-LIB = -L/usr/X11R6/lib -lXpm -lXext -lX11 ++CC ?= gcc ++CFLAGS += -Wall ++LIBDIR ?= /usr/lib ++LIBS= -lXpm -lXext -lX11 + + all: $(OBJ) +- $(CC) -o $(EXE) $(OBJ) $(LIB) ++ $(CC) $(CFLAGS) -o $(EXE) $(OBJ) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + $(OBJ): %.o : %.c + $(CC) $(CFLAGS) -c -o $@ $< +@@ -28,6 +31,7 @@ + rm -rf ../wmgeneral/*.o + + install: +- $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(BINDIR) +- $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(MANDIR)/man1 ++ $(INSTALL) -d $(DESTDIR)$(BINDIR) ++ $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(DESTDIR)$(BINDIR) ++ $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 ++ $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(DESTDIR)$(MANDIR)/man1 diff --git a/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild new file mode 100644 index 000000000000..d79e2989f798 --- /dev/null +++ b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild,v 1.1 2008/02/12 16:10:43 s4t4n Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="SMP system monitor dockapp" +HOMEPAGE="http://lancre.ribbrock.org/binabit/wmSMPmon/" +SRC_URI="http://lancre.ribbrock.org/binabit/wmSMPmon/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${P}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc ../Changelog +} -- cgit v1.2.3-65-gdbad