| 1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-devel/ct-ng/ct-ng-1.14.0.ebuild,v 1.2 2012/02/04 00:35:32 blueness Exp $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
|
| 7 |
|
|
inherit bash-completion-r1 autotools
|
| 8 |
|
|
|
| 9 |
|
|
DESCRIPTION="crosstool-ng is a tool to build cross-compiling toolchains"
|
| 10 |
|
|
HOMEPAGE="http://ymorin.is-a-geek.org/projects/crosstool"
|
| 11 |
|
|
MY_P=${P/ct/crosstool}
|
| 12 |
|
|
S=${WORKDIR}/${MY_P}
|
| 13 |
|
|
SRC_URI="http://ymorin.is-a-geek.org/download/crosstool-ng/${MY_P}.tar.bz2"
|
| 14 |
|
|
|
| 15 |
|
|
LICENSE="GPL-2"
|
| 16 |
|
|
SLOT="0"
|
| 17 |
|
|
KEYWORDS="~amd64 ~x86"
|
| 18 |
|
|
IUSE="bash-completion"
|
| 19 |
|
|
|
| 20 |
|
|
RDEPEND="net-misc/curl
|
| 21 |
|
|
dev-util/gperf
|
| 22 |
|
|
dev-vcs/cvs
|
| 23 |
|
|
dev-vcs/subversion"
|
| 24 |
|
|
|
| 25 |
|
|
src_prepare() {
|
| 26 |
|
|
#Upstream provides ${S}/bootstrap which runs autoconf -Wall --force
|
| 27 |
|
|
#We'll use eautoconf to be portage friendly
|
| 28 |
|
|
eautoconf -Wall --force
|
| 29 |
|
|
}
|
| 30 |
|
|
|
| 31 |
|
|
src_install() {
|
| 32 |
|
|
emake DESTDIR="${D%/}" install || die "install failed"
|
| 33 |
|
|
dobashcomp ${PN}.comp
|
| 34 |
|
|
dodoc README TODO
|
| 35 |
|
|
}
|