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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Aug 7 16:28:38 2012 UTC (2 years, 4 months ago) by blueness
Branch: MAIN
Changes since 1.1: +9 -4 lines
Respect CFLAGS/LDFLAGS, fix documentation, bug #429936

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 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.15.3.ebuild,v 1.1 2012/07/18 16:42:16 blueness Exp $
4 blueness 1.1
5     EAPI="4"
6    
7 blueness 1.2 inherit autotools bash-completion-r1 eutils
8 blueness 1.1
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 blueness 1.2 IUSE="bash-completion doc"
19 blueness 1.1
20     RDEPEND="net-misc/curl
21     dev-util/gperf
22     dev-vcs/cvs
23     dev-vcs/subversion"
24    
25     src_prepare() {
26 blueness 1.2 epatch "${FILESDIR}"/${PN}-kconfig-respect-flags.patch
27    
28 blueness 1.1 #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 blueness 1.2 emake DESTDIR="${D%/}" install
35 blueness 1.1 dobashcomp ${PN}.comp
36     dodoc README TODO
37 blueness 1.2 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 blueness 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20