summaryrefslogtreecommitdiff
path: root/x11-plugins/ascpu
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 /x11-plugins/ascpu
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/ascpu')
-rw-r--r--x11-plugins/ascpu/Manifest6
-rw-r--r--x11-plugins/ascpu/ascpu-1.11-r1.ebuild39
-rw-r--r--x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch46
-rw-r--r--x11-plugins/ascpu/metadata.xml5
4 files changed, 96 insertions, 0 deletions
diff --git a/x11-plugins/ascpu/Manifest b/x11-plugins/ascpu/Manifest
new file mode 100644
index 000000000000..41880800cd8a
--- /dev/null
+++ b/x11-plugins/ascpu/Manifest
@@ -0,0 +1,6 @@
+AUX ascpu-1.11-gentoo-r1.patch 1432 SHA256 f00e439cd52c3dbd1a75441ad688f1c2e0026f850f839895b5787d2c29c47467 SHA512 efd6ebbc202490ca16cb0c569e7be07699ad4f9829d4e9467fdb1d88f6f6b3940bed8be5ed9d1bd8f81c480828639b1b60b4f1bfd6e875f8de6d4513abbb7ff2 WHIRLPOOL 28fb69c93e825c11af0fa97366cfe0dfe1c71bf35f42c367fa49f10be61e8542ee14640d957980f08026864c645477e86a4c58512ae0f893112fc0f41b0d0397
+DIST ascpu-1.11.tar.gz 43867 SHA256 fdd2ee8a6cd006bbb2d6d1871b92c33b18f7bd5e1ab8a367572e4b4f1f53c0a2 SHA512 fd2b4b7f27a9b585b4454237b39f5a8e662e309274a350d55e0c6f552c3d7a9626b47b84d889fd773d3785076fac08d5a595c92f81947e601d23f1f96421eb61 WHIRLPOOL c7fd58f78350d368378dcf3dc2b6ffb035c499490e07458c7c71238ebf98c5770343eda86e79387ff9424cf591c34186beb34b6235ece53efe4df2eb2061e2c2
+EBUILD ascpu-1.11-r1.ebuild 711 SHA256 dbe84620c15dfe4285c17bf6b257a4733b7d011b5114b7c29b2625dad0d1f194 SHA512 a52ebd8e56d0fec7af0d396f2a02b54a7ffb9157dbaa3be74dc98e2c7e3f3f5c79716c6e32a9cc41235f054780a02612bedf0817c885c42708b2ec1ea5ba647e WHIRLPOOL 6550e665a8146ad1bff7f9f4596ea4c03637c869ba62b46266b207a7934473dd61ec86d644caf7d4b24d02accf68438f36dd2043120bfcbae4b62e997c6281ac
+MISC ChangeLog 2961 SHA256 ac28c5eb8f07129563c06dfc469836d8e69fe06b062c8555f6e1a01b1a677074 SHA512 034808ff02332d0b4d894b19757f20934d7c597704d532fccc88779c5983cc0a2bf0998fd8ab7c068612ac6ebfbdead2ae55aa2308b762ea837340883f78b5ea WHIRLPOOL 8338e95030a342cd1bfdfc898932108902405a2e2fbed9ef7ed125fbe10af6d1153ef240c0b1ca7226275f51da62a28e6aa01cf0c765c4637b173bbac2cc4857
+MISC ChangeLog-2015 2571 SHA256 d72b81a4b233085fe11ba1572fe9ca23ddf9bc458d3eca4d17deb14c0ed95382 SHA512 fcfb520009376fe4676779f9a59cfa575e2c92763af477373b362a4fa24e090f69f3e8065d8b96c40ad7b39da1e4e41b2620bfa14af60a653392595c1a36efcc WHIRLPOOL 7e811d8ebfd6fbeee0e500a31ec2d17d0e9c5d7122402d861fdcb7c298bc5caafd662ecead8c2a6b3132b04d32b2ab2621e417f01b3a0f109951dc85c58f1cdf
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-plugins/ascpu/ascpu-1.11-r1.ebuild b/x11-plugins/ascpu/ascpu-1.11-r1.ebuild
new file mode 100644
index 000000000000..ab325222b55d
--- /dev/null
+++ b/x11-plugins/ascpu/ascpu-1.11-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+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="amd64 ~mips ppc ppc64 sparc x86"
+IUSE="jpeg"
+
+RDEPEND="x11-libs/libXpm
+ x11-libs/libSM
+ jpeg? ( virtual/jpeg:0 )"
+
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=( "${FILESDIR}/${P}-gentoo-r1.patch" )
+
+src_configure() {
+ econf $(use_enable jpeg)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+ dodoc README
+ default
+}
diff --git a/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch b/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch
new file mode 100644
index 000000000000..868c1d53b96a
--- /dev/null
+++ b/x11-plugins/ascpu/files/ascpu-1.11-gentoo-r1.patch
@@ -0,0 +1,46 @@
+--- a/autoconf/Makefile.common.in 1999-05-06 23:35:32.000000000 +0200
++++ b/autoconf/Makefile.common.in 2006-09-11 23:07:41.000000000 +0200
+@@ -9,11 +9,10 @@
+ install: install.bin install.man
+
+ 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)
+--- a/autoconf/Makefile.defines.in 1999-05-06 23:35:32.000000000 +0200
++++ b/autoconf/Makefile.defines.in 2006-09-11 23:17:40.000000000 +0200
+@@ -2,6 +2,7 @@
+ # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca>
+ #
+
++DESTDIR =
+ CC = @CC@
+ CCFLAGS = @CFLAGS@
+ # -march=pentiumpro -mcpu=pentiumpro
+@@ -21,7 +22,7 @@
+ LEXFLAGS =
+
+ INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL@ -s -m 755
++INSTALL_PROGRAM = @INSTALL@ -m 755
+ INSTALL_DATA = @INSTALL@ -m 644
+
+ INCS_X = @X_CFLAGS@
+--- a/autoconf/Makefile.common.in 1999-05-06 23:35:32.000000000 +0200
++++ b/autoconf/Makefile.common.in 2013-03-18 18:13:05.550047149 +0100
+@@ -34,7 +34,7 @@
+ done
+
+ $(PROG): $(OBJS)
+- $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
++ $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) $(LDFLAGS)
+
+ .c.o:
+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
diff --git a/x11-plugins/ascpu/metadata.xml b/x11-plugins/ascpu/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-plugins/ascpu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>