blob: 199cc15f401506c2edc893ccd2da9e42e5ea35bd [file] [log] [blame]
# Copyright 1999-2008 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.2 2008/02/03 07:13:03 dirtyepic 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 ~mips ~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.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*
}