# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/longrun-0.9-r1.ebuild,v 1.7 2004/03/20 13:50:07 mr_bones_ Exp $ inherit eutils S="${WORKDIR}/${PN}" DESCRIPTION="A utility to control Transmeta's Crusoe processor" HOMEPAGE="http://freshmeat.net/projects/longrun/" SRC_URI="mirror://kernel/linux/utils/cpu/crusoe/${P}.tar.bz2" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 -ppc" DEPEND="virtual/glibc" # Include fix from debian src_unpack() { unpack ${A} ; cd ${S} epatch "${FILESDIR}/${PF}-debian-gcc-3.diff" } src_compile() { emake || die "emake failed" } src_install() { dosbin longrun || die "dosbin failed" doman longrun.1 dodoc MAKEDEV-cpuid-msr }