summaryrefslogtreecommitdiff
blob: c0e73cd0145d91a35ff55973f0cffe839e89a699 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/fakeroot/fakeroot-1.18.ebuild,v 1.4 2011/10/13 21:45:13 phajdan.jr Exp $

EAPI=4

DESCRIPTION="Run commands in an environment faking root privileges"
HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html"
SRC_URI="mirror://debian/pool/main/f/fakeroot/${PF/-/_}.orig.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"

RDEPEND=""
DEPEND="test? ( app-arch/sharutils )"

DOCS=( AUTHORS BUGS DEBUG README doc/README.saving )

src_configure() {
	econf \
		$(use_enable static-libs static)
}

src_install() {
	default
	use static-libs || find "${ED}" -name '*.la' -exec rm -f '{}' +
}