diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmSMPmon | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmSMPmon')
-rw-r--r-- | x11-plugins/wmSMPmon/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch | 45 | ||||
-rw-r--r-- | x11-plugins/wmSMPmon/metadata.xml | 9 | ||||
-rw-r--r-- | x11-plugins/wmSMPmon/wmSMPmon-3.1-r1.ebuild | 37 |
4 files changed, 92 insertions, 0 deletions
diff --git a/x11-plugins/wmSMPmon/Manifest b/x11-plugins/wmSMPmon/Manifest new file mode 100644 index 000000000000..43e2221117ff --- /dev/null +++ b/x11-plugins/wmSMPmon/Manifest @@ -0,0 +1 @@ +DIST wmSMPmon-3.1.tar.gz 24834 RMD160 2fc70ab4b12008e67bc35d36c4ad62f6d11a8f43 SHA1 18b2811382e61c694d749cc28473e6db0109da3f SHA256 13ca4cfe325c35215e7b3357dc61985159015bd3a870a548ec70edc0914011e7 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/metadata.xml b/x11-plugins/wmSMPmon/metadata.xml new file mode 100644 index 000000000000..09a0b0457a0d --- /dev/null +++ b/x11-plugins/wmSMPmon/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +<longdescription> +wmSMPmon is a Window Maker applet for monitoring +the CPUs, memory, and swap of SMP systems. +</longdescription> +</pkgmetadata> 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..d4cd369f33d3 --- /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 +# $Id$ + +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 +} |