diff options
author | hasufell <julian.ospald@googlemail.com> | 2011-12-28 02:46:54 +0000 |
---|---|---|
committer | hasufell <julian.ospald@googlemail.com> | 2011-12-28 02:46:54 +0000 |
commit | 6b944fb73f6eabbe2abee4dc1ef5dcecb44d00b1 (patch) | |
tree | e5514abacf461465665e98d05b51a652fe0afff5 /app-misc | |
parent | Mask app-portage/portage-jobsmon for removal in 30 days, see bug 306439 comme... (diff) | |
download | sunrise-reviewed-6b944fb73f6eabbe2abee4dc1ef5dcecb44d00b1.tar.gz sunrise-reviewed-6b944fb73f6eabbe2abee4dc1ef5dcecb44d00b1.tar.bz2 sunrise-reviewed-6b944fb73f6eabbe2abee4dc1ef5dcecb44d00b1.zip |
app-misc/hardinfo: New Ebuild for bug 147547 with makefile patched
svn path=/sunrise/; revision=12609
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/hardinfo/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/hardinfo/Manifest | 5 | ||||
-rw-r--r-- | app-misc/hardinfo/files/makefile.patch | 58 | ||||
-rw-r--r-- | app-misc/hardinfo/hardinfo-0.5.1.ebuild | 35 | ||||
-rw-r--r-- | app-misc/hardinfo/metadata.xml | 5 |
5 files changed, 113 insertions, 0 deletions
diff --git a/app-misc/hardinfo/ChangeLog b/app-misc/hardinfo/ChangeLog new file mode 100644 index 000000000..df813bb50 --- /dev/null +++ b/app-misc/hardinfo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/hardinfo +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*hardinfo-0.5.1 (28 Dec 2011) + + 28 Dec 2011; hasufell <julian.ospald@googlemail.com> +hardinfo-0.5.1.ebuild, + +files/makefile.patch, +metadata.xml: + New Ebuild for bug 147547 with makefile patched + diff --git a/app-misc/hardinfo/Manifest b/app-misc/hardinfo/Manifest new file mode 100644 index 000000000..935b83e92 --- /dev/null +++ b/app-misc/hardinfo/Manifest @@ -0,0 +1,5 @@ +AUX makefile.patch 1703 RMD160 1e37ea81225cde223c6bba9dda79be93d5a7d380 SHA1 45728f30c5eb31ac38be3ef6f20e968ccb8c9344 SHA256 8309f1316d3e01155e8747933c76cd8193993e2c53b6dc474b5800d39615a314 +DIST hardinfo-0.5.1.tar.bz2 246924 RMD160 ef0c91fa8c0c032cf74a96e045e4823f7fe3b81e SHA1 983f0445aa60e02156bc5a5eaedeffb30b8e4d64 SHA256 a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a +EBUILD hardinfo-0.5.1.ebuild 603 RMD160 b40d7f64c3c51005f9519536a62d1ecbffeafd68 SHA1 6f5a91092a07aa029a79dcda7e4bec6ec53327f6 SHA256 7fde4988e055b0a07eac65039c2cd6bf0e3f3ccfdb34bc9e97ed72032aedc6b2 +MISC ChangeLog 319 RMD160 0ffe5f3fb3785465f10075eb1367d55c089a499f SHA1 18f0779b7f23cb024997119bbbc3707e73a7de84 SHA256 d9838e782bfc72c864e4c710e5cff3ad1e7e28fbdeceb11b11d4c621235ffd4e +MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 diff --git a/app-misc/hardinfo/files/makefile.patch b/app-misc/hardinfo/files/makefile.patch new file mode 100644 index 000000000..621295822 --- /dev/null +++ b/app-misc/hardinfo/files/makefile.patch @@ -0,0 +1,58 @@ +--- Makefile.in.old 2009-04-06 15:43:15.000000000 +0200 ++++ Makefile.in 2011-12-27 04:08:01.000000000 +0100 +@@ -1,8 +1,6 @@ + +-CCFLAGS = -fPIC -pipe -Wall -g +-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. +-CC = gcc $(ARCHOPTS) -g +-CCSLOW = gcc -O0 -g ++CFLAGS+=-fPIC $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. ++CC?=gcc + + # ---------------------------------------------------------------------------- + +@@ -14,35 +12,35 @@ + MODULES = computer.so devices.so benchmark.so network.so + + all: $(OBJECTS) $(MODULES) +- $(CC) $(CCFLAGS) -o hardinfo -Wl,-export-dynamic $(OBJECTS) $(GTK_LIBS) \ ++ $(CC) $(CFLAGS) -o hardinfo -Wl,-export-dynamic $(OBJECTS) $(GTK_LIBS) \ + $(SOUP_LIBS) + + md5.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c md5.c -o $@ ++ $(CC) $(CFLAGS) -c md5.c -o $@ + + blowfish.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c blowfish.c -o $@ ++ $(CC) $(CFLAGS) -c blowfish.c -o $@ + + sha1.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c sha1.c -o $@ ++ $(CC) $(CFLAGS) -c sha1.c -o $@ + + fbench.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c fbench.c -o $@ ++ $(CC) $(CFLAGS) -c fbench.c -o $@ + + fftbench.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c fftbench.c -o $@ ++ $(CC) $(CFLAGS) -c fftbench.c -o $@ + + nqueens.o: +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -c nqueens.c -o $@ ++ $(CC) $(CFLAGS) -c nqueens.c -o $@ + + benchmark.so: benchmark.c + make $(BENCHMARK_OBJECTS) +- $(CCSLOW) $(CCFLAGS) $(CFLAGS) -o $@ -shared $< $(BENCHMARK_OBJECTS) \ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $< $(BENCHMARK_OBJECTS) \ + $(GTK_FLAGS) $(GTK_LIBS) + ln -sf ../$@ modules + + %.so: %.c +- $(CC) $(CCFLAGS) $(CFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $< $(GTK_FLAGS) $(GTK_LIBS) + ln -sf ../$@ modules + + clean: diff --git a/app-misc/hardinfo/hardinfo-0.5.1.ebuild b/app-misc/hardinfo/hardinfo-0.5.1.ebuild new file mode 100644 index 000000000..3ed6ccb14 --- /dev/null +++ b/app-misc/hardinfo/hardinfo-0.5.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils flag-o-matic + +DESCRIPTION="A system information and benchmark tool for Linux systems" +HOMEPAGE="http://hardinfo.berlios.de/" +SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + net-libs/libsoup + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/makefile.patch +} + +src_configure() { + filter-flags "-O*" + econf +} + +src_compile() { + emake -j1 +} diff --git a/app-misc/hardinfo/metadata.xml b/app-misc/hardinfo/metadata.xml new file mode 100644 index 000000000..31dc017fa --- /dev/null +++ b/app-misc/hardinfo/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><email>maintainer-wanted@gentoo.org</email></maintainer> +</pkgmetadata> |