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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 14 23:02:32 2012 UTC (21 months, 1 week ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Fix HOMEPAGE, bug #443160

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

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.17.0.ebuild,v 1.1 2012/11/13 12:52:25 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 #Upstream provides ${S}/bootstrap which runs autoconf -Wall --force
29 #We'll use eautoconf to be portage friendly
30 eautoconf -Wall --force
31 }
32
33 src_install() {
34 emake DESTDIR="${D%/}" install
35 dobashcomp ${PN}.comp
36 dodoc README TODO
37 use doc && mv "${D}"/usr/share/doc/crosstool-ng/"${PN}.${PVR}"/* \
38 "${D}"/usr/share/doc/"${PF}"
39 rm -rf "${D}"/usr/share/doc/crosstool-ng
40 }

  ViewVC Help
Powered by ViewVC 1.1.20