# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit eutils bash-completion DESCRIPTION="A tool to build cross-compiling toolchains" HOMEPAGE="http://ymorin.is-a-geek.org/projects/crosstool" MY_P=${P/ct/crosstool} S=${WORKDIR}/${MY_P} SRC_URI="http://ymorin.is-a-geek.org/download/crosstool-ng/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="bash-completion" RDEPEND="net-misc/curl dev-vcs/cvs" src_prepare() { epatch "${FILESDIR}/fix-man-path.patch" } src_install() { emake DESTDIR="${D%/}" install || die "install failed" dobashcompletion ct-ng.comp dodoc README TODO docs/known-issues.txt }