rovclock-0.6e.ebuild 572 B

12345678910111213141516171819202122232425262728
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=3
  4. inherit toolchain-funcs eutils
  5. DESCRIPTION="Overclocking utility for ATI Radeon cards"
  6. HOMEPAGE="http://www.hasw.net/linux/"
  7. SRC_URI="http://www.hasw.net/linux/${P}.tar.bz2"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86"
  11. IUSE=""
  12. src_prepare() {
  13. epatch "${FILESDIR}"/${P}-ldflags.patch
  14. }
  15. src_compile() {
  16. emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
  17. }
  18. src_install() {
  19. dosbin rovclock || die "dosbin failed"
  20. dodoc ChangeLog README
  21. }