diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-10 01:09:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-10 01:09:32 +0000 |
commit | 111a4b25579c40950a97b6ccb14cfd2686c5f90c (patch) | |
tree | 6999c55de06696382bd187fb4735175cf11ff662 | |
parent | stabilize #95557 (diff) | |
download | gentoo-2-111a4b25579c40950a97b6ccb14cfd2686c5f90c.tar.gz gentoo-2-111a4b25579c40950a97b6ccb14cfd2686c5f90c.tar.bz2 gentoo-2-111a4b25579c40950a97b6ccb14cfd2686c5f90c.zip |
clean up ebuild to not suck
(Portage version: 2.0.51.22-r1)
-rw-r--r-- | sys-process/schedutils/schedutils-1.3.5.ebuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/sys-process/schedutils/schedutils-1.3.5.ebuild b/sys-process/schedutils/schedutils-1.3.5.ebuild index ce5b559a21fe..008188cf52b2 100644 --- a/sys-process/schedutils/schedutils-1.3.5.ebuild +++ b/sys-process/schedutils/schedutils-1.3.5.ebuild @@ -1,34 +1,24 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/schedutils-1.3.5.ebuild,v 1.2 2005/06/10 01:04:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/schedutils-1.3.5.ebuild,v 1.3 2005/06/10 01:09:32 vapier Exp $ DESCRIPTION="Utilities for manipulating kernel schedular parameters" HOMEPAGE="http://tech9.net/rml/schedutils" -KEYWORDS="amd64 ppc x86" -IUSE="" -LICENSE="GPL-2" - -RDEPEND="virtual/libc" -DEPEND="$RDEPEND - >=sys-apps/sed-4" -SLOT="0" - SRC_URI="http://tech9.net/rml/${PN}/packages/${PV}/${P}.tar.gz" -src_unpack() { - unpack ${A} - cd ${S} - sed -i -e 's:\(#include <features.h>\):\1\n#include <errno.h>:' \ - taskset.c || die "Sed failed" -} +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" src_compile() { - emake PREFIX=/usr || die "Make failed" + emake \ + CFLAGS="${CFLAGS}" \ + PREFIX=/usr \ + || die "Make failed" } src_install() { - dodir /usr/bin - dodir /usr/share/man/man1 - dodir /usr/share/doc - einstall PREFIX=${D}/usr || die "Install failed" + dodir /usr/bin /usr/share/man/man1 /usr/share/doc + make install PREFIX="${D}"/usr || die "Install failed" } |