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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue May 26 22:27:20 2015 UTC (3 years, 10 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Recommit correct verions.

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

1 blueness 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/ct-ng/ct-ng-1.21.0.ebuild,v 1.1 2015/05/26 22:25:10 blueness Exp $
4 blueness 1.1
5     EAPI="5"
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 blueness 1.2 S=${WORKDIR}
13 blueness 1.1 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="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_configure () {
34     econf --with-install="/usr/bin/install"
35     }
36    
37     src_install() {
38     emake DESTDIR="${D%/}" install
39     newbashcomp ${PN}.comp ${PN}
40     dodoc README TODO
41     use doc && mv "${D}"/usr/share/doc/crosstool-ng/"${PN}.${PVR}"/* \
42     "${D}"/usr/share/doc/"${PF}"
43     rm -rf "${D}"/usr/share/doc/crosstool-ng
44     }

  ViewVC Help
Powered by ViewVC 1.1.20