From 4deee65ad5bfa6567b46d6d6cd3ddfa6d4ff6069 Mon Sep 17 00:00:00 2001 From: David James Date: Fri, 18 May 2012 17:55:24 -0700 Subject: [PATCH] Add sys-apps/fakeroot to portage-stable This package is currently unused but will be used by update_engine. BUG=chromium-os:31088, chromium-os:31089 TEST=emerge it. Change-Id: I2df3d2a0c72d258cf60ec43e1d55ff0c330daaf5 Reviewed-on: https://gerrit.chromium.org/gerrit/23089 Reviewed-by: Gilad Arnold Reviewed-by: Mike Frysinger Tested-by: David James Commit-Ready: David James --- .../md5-cache/sys-apps/fakeroot-1.18.3 | 11 ++++++++ .../portage-stable/sys-apps/fakeroot/Manifest | 1 + .../sys-apps/fakeroot/fakeroot-1.18.3.ebuild | 28 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fakeroot-1.18.3 create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/fakeroot-1.18.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fakeroot-1.18.3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fakeroot-1.18.3 new file mode 100644 index 0000000000..c942c699e6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fakeroot-1.18.3 @@ -0,0 +1,11 @@ +DEFINED_PHASES=configure install +DEPEND=test? ( app-arch/sharutils ) +DESCRIPTION=Run commands in an environment faking root privileges +EAPI=4 +HOMEPAGE=http://packages.qa.debian.org/f/fakeroot.html +IUSE=static-libs test +KEYWORDS=~alpha amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://debian/pool/main/f/fakeroot/fakeroot_1.18.3.orig.tar.bz2 +_md5_=368419eacd45ed60736452958ef7b29f diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/Manifest new file mode 100644 index 0000000000..ed1aa3e608 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/Manifest @@ -0,0 +1 @@ +DIST fakeroot_1.18.3.orig.tar.bz2 307252 RMD160 95df721c2f849fc49b7f0667e77c8db61958f9f1 SHA1 6a97df73afa3ffae11f078f13ce93cefcf31e160 SHA256 7604f7e2e097997f78843982196af54559974a68dd3e8665d22f1883dd6d3ff1 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/fakeroot-1.18.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/fakeroot-1.18.3.ebuild new file mode 100644 index 0000000000..0773695fb9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/fakeroot/fakeroot-1.18.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fakeroot/fakeroot-1.18.3.ebuild,v 1.1 2012/05/12 17:01:29 radhermit 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" + +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 '{}' + +}