summaryrefslogtreecommitdiff
blob: e4b1963b543103d2526b436f0c88ec6ce8713a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2004 Gentoo Foundation
# 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.1.1.1 2005/11/30 09:56:55 chriswhite Exp $

inherit gnuconfig eutils

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="mirror://debian/dists/potato/main/source/utils/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~sparc alpha amd64 ~ia64"
IUSE=""

RDEPEND="virtual/libc"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/fakeroot-gcc3-gentoo.patch
	epatch ${FILESDIR}/${P}-faked.patch
	gnuconfig_update
}

src_install() {
	make DESTDIR=${D} install || die "install problem"
}