diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/cpuid/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/cpuid/Manifest | 25 | ||||
-rw-r--r-- | sys-apps/cpuid/cpuid-20110305.ebuild | 30 | ||||
-rw-r--r-- | sys-apps/cpuid/files/cpuid-20110305-Makefile.patch | 30 | ||||
-rw-r--r-- | sys-apps/cpuid/metadata.xml | 12 |
5 files changed, 108 insertions, 0 deletions
diff --git a/sys-apps/cpuid/ChangeLog b/sys-apps/cpuid/ChangeLog new file mode 100644 index 000000000000..d87d21159e9f --- /dev/null +++ b/sys-apps/cpuid/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-apps/cpuid +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpuid/ChangeLog,v 1.1 2011/06/15 12:11:32 hwoarang Exp $ + +*cpuid-20110305 (15 Jun 2011) + + 15 Jun 2011; Markos Chandras <hwoarang@gentoo.org> +cpuid-20110305.ebuild, + +files/cpuid-20110305-Makefile.patch, +metadata.xml: + Initial commit of cpuid. Thanks to Ivan Yosifov <iyosifov@gmail.com> for the + initial ebuild. Bug #179805 + diff --git a/sys-apps/cpuid/Manifest b/sys-apps/cpuid/Manifest new file mode 100644 index 000000000000..40044eb28024 --- /dev/null +++ b/sys-apps/cpuid/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX cpuid-20110305-Makefile.patch 1080 RMD160 8955a8e36a573214f2ede23a5c1add051806effe SHA1 5403ef1b515b1ab10cbad91b58d44d8ba9901cb2 SHA256 2f9e29e30d056660c467d5e2cc78f1be85f0a2151db9f77690f683654ec5b129 +DIST cpuid-20110305.src.tar.gz 59044 RMD160 2c32cf16d47b90637761a5d9da23a72dac268c2f SHA1 1aca6cbb94aa5d5a8d49b54c407a46a83dcb4460 SHA256 14b90960ecc5cf3466d0d78269365f6fc6233e1aeb3491c7d25342f20405cc7e +EBUILD cpuid-20110305.ebuild 662 RMD160 985f98e496713552be1dea378c9331f6dbe3b811 SHA1 320fa579b52beba08963c6a111dccb7b09da6526 SHA256 e4f8bd6c2c60fd4d6391ff617e0e989c8b92cde886452226c782a3cecde0309a +MISC ChangeLog 476 RMD160 a4e0face8bc1cfe0fa1745769c08b0408d1a9fc2 SHA1 307a9b2a0f203648159098d1dccaac89456c8002 SHA256 85ebd4ed19334ea78cc59bfd5e356fb5fbe7a13c1bc0d253c6886b16e54a835e +MISC metadata.xml 299 RMD160 2e104f9e93f7c11fa27c83226511c841e1a3dbd4 SHA1 25472cd164d586761a84c06a7b1506c6a33c03b7 SHA256 90f87a1654ecc810fd74a96670dee08373b74500e39e378ceb0d64a9c45c6dc5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAEBCgAGBQJN+KEsAAoJEPqDWhW0r/LCVcgP/2JXhmLYOySLX0LT2Kg1Iu7j +1hOt5hV+ePmVlFzKlWFd2upgfFaDoA0V8QkZHoKlFLlbKm2VD4L3zBNPFwPRdCRH +Na7PL+1UR1MEY2jWzK19iaavaO+fISZvlKuQfyf+e4mulO1BSHCoq6Y3VbTl/Lx8 +zbKqhrM0iGGle6pPDQS1lE2EB8UZiutQRvJZDizPjgbuKQpB+QH/s+z9shAev1sZ +csMjXXw2V4+Z+zhUudXaRSOJwlcoHyVaJfyDzBKNv+osSOls/RxV2/mY9n9ba8bP +i8KOhBDAJai5C2Ft6vevTCAxk6K1uF6lVPXORYkntCoJKs4MxtdJDBCfYrRJZDNh +vD8S1NnQbOZb2QlOmeyGu3aaCQW5EYX02+TxmJWjMdEkcOFAVEIcyqQStotfZBlm +sPa9aTdi0NkJ2ZXw7HX1gJO/x/JV+yQp5ZGU8832Xz33KvdKavFeMGk6KFjqEVFk +YKU2R8yERnxi4FXl6f+Ifht/hoi356uA2ARqmWc0SwfV4JrDtAePsRLEErNr9BG2 +UNm+dLkpCLOCN3OrUPQ4CJXBZOGgy/5+8/My98FIihsL2trYES7P/lhPVDhoDFfs +chNXf+4cDwbvNC9DV1C78I+023WPb7iXIIDLK8Hb49wzgYXTjpBTHEzmi5skNi2s +O3N83yyFPWhpsj7XFsWs +=mTul +-----END PGP SIGNATURE----- diff --git a/sys-apps/cpuid/cpuid-20110305.ebuild b/sys-apps/cpuid/cpuid-20110305.ebuild new file mode 100644 index 000000000000..468c3ccce7d9 --- /dev/null +++ b/sys-apps/cpuid/cpuid-20110305.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpuid/cpuid-20110305.ebuild,v 1.1 2011/06/15 12:11:32 hwoarang Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Utility to get detailed information about the CPU(s) using the +CPUID instruction" +HOMEPAGE="http://www.etallen.com/cpuid.html" +SRC_URI="http://www.etallen.com/${PN}/${P}.src.tar.gz" + +KEYWORDS="~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + tc-export CC + emake +} + +src_install() { + emake BUILDROOT="${D}" install +} diff --git a/sys-apps/cpuid/files/cpuid-20110305-Makefile.patch b/sys-apps/cpuid/files/cpuid-20110305-Makefile.patch new file mode 100644 index 000000000000..a3aab8a50f66 --- /dev/null +++ b/sys-apps/cpuid/files/cpuid-20110305-Makefile.patch @@ -0,0 +1,30 @@ +Index: cpuid-20110305/Makefile +=================================================================== +--- cpuid-20110305.orig/Makefile ++++ cpuid-20110305/Makefile +@@ -1,7 +1,3 @@ +-CFLAGS=-g +-ifneq (,$(findstring arch=i386,$(CFLAGS))) +-CISA=-m32 +-endif + CFL=$(CFLAGS) $(CISA) -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -DVERSION=$(VERSION) + + PACKAGE=cpuid +@@ -36,14 +32,14 @@ BUILDROOT= + default: $(PROG) $(PROG).man.gz + + $(PROG): cpuid.c Makefile +- $(CC) $(CFL) -o $@ cpuid.c ++ $(CC) $(CFL) $(LDFLAGS) -o $@ cpuid.c + + $(PROG).man.gz: $(PROG).man + gzip < $< > $@ + + install: $(PROG) $(PROG).man.gz +- install -D -s -m 755 $(PROG) $(BUILDROOT)/usr/bin/$(PROG) +- install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz ++ install -D -m 755 $(PROG) $(BUILDROOT)/usr/bin/$(PROG) ++ install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz + + clean: + rm -f $(PROG) $(PROG).i386 $(PROG).x86_64 diff --git a/sys-apps/cpuid/metadata.xml b/sys-apps/cpuid/metadata.xml new file mode 100644 index 000000000000..87afd6e36004 --- /dev/null +++ b/sys-apps/cpuid/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + |