# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/udept/udept-0.5.99.0.2.95-r1.ebuild,v 1.1 2006/11/01 19:32:35 fuzzyray Exp $ inherit bash-completion eutils DESCRIPTION="A Portage analysis toolkit" HOMEPAGE="http://catmur.co.uk/gentoo/udept" SRC_URI="http://files.catmur.co.uk/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" DEPEND="app-shells/bash sys-apps/portage" RDEPEND="${DEPEND}" BASH_COMPLETION_NAME="dep" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/udept.svn-1638.patch" epatch "${FILESDIR}/udept.default-use.patch" } src_compile() { econf $(use_enable bash-completion) || die "econf failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc ChangeLog* }