# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/fakechroot/fakechroot-2.12.ebuild,v 1.1 2010/11/14 09:05:32 ssuominen Exp $ EAPI=4 inherit eutils DESCRIPTION="Provide a faked chroot environment without requiring root privileges" HOMEPAGE="http://fakechroot.alioth.debian.org/" SRC_URI="mirror://debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test hardened" src_prepare() { use test && epatch "${FILESDIR}"/${P}-fix_chroot_test_location.patch use test && use hardened && epatch "${FILESDIR}"/${P}-fix_test_hardened.patch } src_configure() { econf \ --disable-static \ --disable-dependency-tracking } src_install() { emake DESTDIR="${D}" install || die dodoc NEWS README THANKS find "${D}" -name '*.la' -exec rm -f '{}' + }