# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/fakeroot/fakeroot-0.4.4-r1.ebuild,v 1.4 2003/02/13 15:55:52 vapier Exp $ MY_P="${PN}_${PV}-4.1" DESCRIPTION="Run commands in an environment faking root privileges" HOMEPAGE="http://joostje.op.het.net/fakeroot/index.html" SRC_URI="http://ftp.debian.org/debian/dists/potato/main/source/utils/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~sparc ~ppc" RDEPEND=">=virtual/glibc-2.2.2" DEPEND="${RDEPEND}" S="${WORKDIR}/${P}" src_unpack() { unpack ${A} cd ${S} && patch -p1 <${FILESDIR}/fakeroot-gcc3-gentoo.patch || die } src_compile() { econf || die "configure problem" emake || die "compile problem" } src_install () { make DESTDIR=${D} install || die "install problem" }