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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20