diff options
Diffstat (limited to 'sys-apps/fakeroot/fakeroot-1.18.4.ebuild')
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.18.4.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/fakeroot/fakeroot-1.18.4.ebuild b/sys-apps/fakeroot/fakeroot-1.18.4.ebuild new file mode 100644 index 000000000000..9fb41a9a14fc --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.18.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" +HOMEPAGE="http://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="alpha amd64 ~arm hppa ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="acl static-libs test" + +RDEPEND="" +DEPEND="${RDEPEND} + acl? ( sys-apps/acl ) + test? ( app-arch/sharutils )" + +DOCS="AUTHORS BUGS DEBUG README doc/README.saving" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.18.4-no-acl_h.patch +} + +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + +} |