--- schedtool-1.2.3.ebuild.orig 2010-03-02 20:53:46.000000000 +0100 +++ schedtool-1.2.3.ebuild 2010-03-02 20:59:27.000000000 +0100 @@ -1,26 +1,23 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/schedtool-1.2.3.ebuild,v 1.1 2005/03/03 16:13:13 ciaranm Exp $ +EAPI="2" + DESCRIPTION="A tool to query or alter a process' scheduling policy." HOMEPAGE="http://freequaos.host.sk/schedtool" SRC_URI="http://freequaos.host.sk/${PN}/${P}.tar.bz2" + LICENSE="GPL-2" SLOT=0 KEYWORDS="x86 ppc amd64" IUSE="" -src_unpack() { - unpack ${A} - cd ${S} - sed -i '/^CFLAGS=/d ; s:/man/:/share/man/:' Makefile -} - -src_compile() { - emake || die "Compilation failed." +src_prepare() { + sed -i '/^CFLAGS=/d ; s:/man/:/share/man/:' Makefile || die } src_install() { - make DESTPREFIX=${D}/usr install - dodoc BUGS CHANGES INSTALL LICENSE README THANKS TUNING + make DESTPREFIX="${D}"/usr install || die + dodoc CHANGES INSTALL PACKAGERS README SCHED_DESIGN TUNING || die }