diff options
Diffstat (limited to 'media-video/rovclock')
-rw-r--r-- | media-video/rovclock/Manifest | 1 | ||||
-rw-r--r-- | media-video/rovclock/files/rovclock-0.6e-ldflags.patch | 13 | ||||
-rw-r--r-- | media-video/rovclock/metadata.xml | 12 | ||||
-rw-r--r-- | media-video/rovclock/rovclock-0.6e.ebuild | 28 |
4 files changed, 54 insertions, 0 deletions
diff --git a/media-video/rovclock/Manifest b/media-video/rovclock/Manifest new file mode 100644 index 000000000000..6f5ba3402d61 --- /dev/null +++ b/media-video/rovclock/Manifest @@ -0,0 +1 @@ +DIST rovclock-0.6e.tar.bz2 29648 SHA256 f2601b3a823752d51cf27b25c8b57efb66e1295848877c962f0c680430e200f7 diff --git a/media-video/rovclock/files/rovclock-0.6e-ldflags.patch b/media-video/rovclock/files/rovclock-0.6e-ldflags.patch new file mode 100644 index 000000000000..ad7e809b0fcd --- /dev/null +++ b/media-video/rovclock/files/rovclock-0.6e-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 7d2a21e..5912f71 100644 +--- a/Makefile ++++ b/Makefile +@@ -13,7 +13,7 @@ CFLAGS = -O2 -Wall -Wstrict-prototypes $(DEFS) + all: $(PROG) + + $(PROG): $(SRCS) +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + $(SRCS): $(HDRS) + diff --git a/media-video/rovclock/metadata.xml b/media-video/rovclock/metadata.xml new file mode 100644 index 000000000000..e2f79fad9901 --- /dev/null +++ b/media-video/rovclock/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>proxy-maintainers</herd> +<maintainer> + <email>se.witt@gmx.net</email> + <name>Sebastian Witt</name> +</maintainer> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/rovclock/rovclock-0.6e.ebuild b/media-video/rovclock/rovclock-0.6e.ebuild new file mode 100644 index 000000000000..e2f212758d26 --- /dev/null +++ b/media-video/rovclock/rovclock-0.6e.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit toolchain-funcs eutils + +DESCRIPTION="Overclocking utility for ATI Radeon cards" +HOMEPAGE="http://www.hasw.net/linux/" +SRC_URI="http://www.hasw.net/linux/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dosbin rovclock || die "dosbin failed" + dodoc ChangeLog README +} |