summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-11-03 16:17:54 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-11-03 16:17:54 +0000
commit4f9112682b9ae4997295d9ccd4504d8d7c68e5e7 (patch)
tree591a12db548ebf00ea6027992341dd3017b7f00a /x11-plugins/ascpu
parentmoved asclock from x11-misc to x11-plugins (diff)
downloadgentoo-2-4f9112682b9ae4997295d9ccd4504d8d7c68e5e7.tar.gz
gentoo-2-4f9112682b9ae4997295d9ccd4504d8d7c68e5e7.tar.bz2
gentoo-2-4f9112682b9ae4997295d9ccd4504d8d7c68e5e7.zip
moved asapm and ascpu from x11-misc to x11-plugins
Diffstat (limited to 'x11-plugins/ascpu')
-rw-r--r--x11-plugins/ascpu/ChangeLog8
-rw-r--r--x11-plugins/ascpu/ascpu-1.9.ebuild35
-rw-r--r--x11-plugins/ascpu/files/ascpu-1.9-gentoo.patch26
-rw-r--r--x11-plugins/ascpu/files/digest-ascpu-1.91
4 files changed, 70 insertions, 0 deletions
diff --git a/x11-plugins/ascpu/ChangeLog b/x11-plugins/ascpu/ChangeLog
new file mode 100644
index 000000000000..47b1a8f550fc
--- /dev/null
+++ b/x11-plugins/ascpu/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for x11-misc/ascpu
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/ascpu/ChangeLog,v 1.1 2002/11/03 16:17:54 seemant Exp $
+
+*ascpu-1.9 (17 Aug 2002)
+
+ 17 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> ascpu-1.9.ebuild:
+ Initial import. Ebuild submitted by Dwight Schauer <das@teegra.net>.
diff --git a/x11-plugins/ascpu/ascpu-1.9.ebuild b/x11-plugins/ascpu/ascpu-1.9.ebuild
new file mode 100644
index 000000000000..09942af15661
--- /dev/null
+++ b/x11-plugins/ascpu/ascpu-1.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2002 Dwight Schauer
+# Distributed under the terms of the GNU General Public License, v2.
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/ascpu/ascpu-1.9.ebuild,v 1.1 2002/11/03 16:17:54 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="CPU statistics monitor utility for X Windows"
+SRC_URI="http://www.tigr.net/afterstep/download/ascpu/${P}.tar.gz"
+HOMEPAGE="http://www.tigr.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-gentoo.patch
+
+
+src_compile() {
+ econf || die
+
+ emake || die "Make Failed"
+}
+
+src_install () {
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+
+ make DESTDIR=${D} install || die
+ dodoc README INSTALL LICENSE
+}
diff --git a/x11-plugins/ascpu/files/ascpu-1.9-gentoo.patch b/x11-plugins/ascpu/files/ascpu-1.9-gentoo.patch
new file mode 100644
index 000000000000..4af52400cc77
--- /dev/null
+++ b/x11-plugins/ascpu/files/ascpu-1.9-gentoo.patch
@@ -0,0 +1,26 @@
+--- autoconf/Makefile.common.in Sat Aug 17 00:03:35 2002
++++ autoconf/Makefile.common.in Sat Aug 17 00:05:20 2002
+@@ -10,10 +10,10 @@
+
+ install.bin: $(PROG)
+ $(STRIP) $(PROG)
+- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
++ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR)
+
+ install.man:
+- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
++ $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x
+
+ uninstall:
+ $(RMF) $(AFTER_BIN_DIR)/$(PROG)
+--- autoconf//Makefile.defines.in Sat Aug 17 00:06:03 2002
++++ autoconf/Makefile.defines.in Sat Aug 17 00:06:15 2002
+@@ -2,6 +2,8 @@
+ # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca>
+ #
+
++DESTDIR =
++
+ CC = @CC@
+ CCFLAGS = @CFLAGS@
+ # -march=pentiumpro -mcpu=pentiumpro
diff --git a/x11-plugins/ascpu/files/digest-ascpu-1.9 b/x11-plugins/ascpu/files/digest-ascpu-1.9
new file mode 100644
index 000000000000..bdfd22488aa9
--- /dev/null
+++ b/x11-plugins/ascpu/files/digest-ascpu-1.9
@@ -0,0 +1 @@
+MD5 35d55ec164496ed595ee8d5d34ed4efd ascpu-1.9.tar.gz 42512