/[gentoo-x86]/net-misc/batctl/batctl-2011.1.0.ebuild
Gentoo

Diff of /net-misc/batctl/batctl-2011.1.0.ebuild

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/net-misc/batctl/Attic/batctl-2011.1.0.ebuild,v 1.2 2011/05/20 23:39:58 xmw Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/Attic/batctl-2011.1.0.ebuild,v 1.3 2011/05/22 23:22:09 xmw Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7inherit linux-info toolchain-funcs 7inherit linux-info toolchain-funcs
8 8
25 ewarn "either from the kernel tree or via net-misc/batman-adv" 25 ewarn "either from the kernel tree or via net-misc/batman-adv"
26 fi 26 fi
27} 27}
28 28
29src_prepare() { 29src_prepare() {
30 sed -e "/^CFLAGS/s: -O.* : :" \ 30 sed -e "/^CFLAGS/s: -O[^[:space:]]* : :" \
31 -e "/^CFLAGS/s: -g.* : :" \ 31 -e "/^CFLAGS/s: -g[^[:space:]]* : :" \
32 -e "/^NUM_CPUS/d" \
33 -e "/\$(MAKE)/s: -j \$(NUM_CPUS) : :" \ 32 -e "s: -j \$(NUM_CPUS) : :" \
34 -i Makefile || die 33 -i Makefile || die
35} 34}
36 35
37src_compile() { 36src_compile() {
38 emake CC=$(tc-getCC) Q_CC="" Q_LD="" || die 37 emake CC="$(tc-getCC)" V=1 || die
39} 38}
40 39
41src_install() { 40src_install() {
42 emake INSTALL_PREFIX="${D}" install || die 41 emake INSTALL_PREFIX="${D}" install || die
43 dodoc README || die 42 dodoc README || die

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

  ViewVC Help
Powered by ViewVC 1.1.20