blob: 1be067a59caa1d14468c2607025d54f9b82ac929 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools eutils flag-o-matic
DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery"
HOMEPAGE="https://packages.qa.debian.org/f/fakeroot.html"
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="acl debug static-libs test"
RESTRICT="!test? ( test )"
DEPEND="
sys-libs/libcap
acl? ( sys-apps/acl )
test? ( app-arch/sharutils )"
DOCS="AUTHORS BUGS DEBUG README doc/README.saving"
PATCHES=(
"${FILESDIR}"/${PN}-1.19-no-acl_h.patch
"${FILESDIR}"/${P}-glibc-2.24.patch
"${FILESDIR}"/${PN}-1.22-xstatjunk.patch
"${FILESDIR}"/${PN}-1.22-no64.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
export ac_cv_header_sys_acl_h=$(usex acl)
use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING"
econf \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files
}
|