/[gentoo-x86]/sys-devel/ct-ng/ct-ng-1.18.0.ebuild
Gentoo

Contents of /sys-devel/ct-ng/ct-ng-1.18.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Feb 25 20:25:33 2013 UTC (19 months, 4 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -1 lines
Apply upstream patch to fix parallel installation. Bug #450398

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 # Copyright 1999-2013 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.18.0.ebuild,v 1.1 2013/02/01 23:16:57 blueness Exp $
4
5 EAPI="4"
6
7 inherit autotools bash-completion-r1 eutils
8
9 DESCRIPTION="crosstool-ng is a tool to build cross-compiling toolchains"
10 HOMEPAGE="http://crosstool-ng.org"
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 doc"
19
20 RDEPEND="net-misc/curl
21 dev-util/gperf
22 dev-vcs/cvs
23 dev-vcs/subversion"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${PN}-kconfig-respect-flags.patch
27
28 # bug 450398. Fixed upstream. Remove it on the next version bump
29 epatch "${FILESDIR}"/${P}-parallel-fix.patch
30
31 #Upstream provides ${S}/bootstrap which runs autoconf -Wall --force
32 #We'll use eautoconf to be portage friendly
33 eautoconf -Wall --force
34 }
35
36 src_install() {
37 emake DESTDIR="${D%/}" install
38 dobashcomp ${PN}.comp
39 dodoc README TODO
40 use doc && mv "${D}"/usr/share/doc/crosstool-ng/"${PN}.${PVR}"/* \
41 "${D}"/usr/share/doc/"${PF}"
42 rm -rf "${D}"/usr/share/doc/crosstool-ng
43 }

  ViewVC Help
Powered by ViewVC 1.1.20