/[gentoo-x86]/net-misc/batman-adv/batman-adv-2012.3.0.ebuild
Gentoo

Contents of /net-misc/batman-adv/batman-adv-2012.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Aug 19 23:23:42 2012 UTC (2 years, 3 months ago) by xmw
Branch: MAIN
Version bump (bug 431994).

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/batman-adv/batman-adv-2012.2.0.ebuild,v 1.1 2012/06/13 22:19:34 xmw Exp $
4
5 EAPI=4
6
7 CONFIG_CHECK="~!CONFIG_BATMAN_ADV"
8 MODULE_NAMES="${PN}(net:${S}:${S})"
9 BUILD_TARGETS="all"
10
11 inherit linux-mod
12
13 DESCRIPTION="Better approach to mobile Ad-Hoc networking on layer 2 kernel module"
14 HOMEPAGE="http://www.open-mesh.org/"
15 SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="debug bla"
21
22 DEPEND=""
23 RDEPEND=""
24
25 src_compile() {
26 BUILD_PARAMS="CONFIG_BATMAN_ADV_DEBUG=$(use debug && echo y || echo n)"
27 BUILD_PARAMS+=" CONFIG_BATMAN_ADV_BLA=$(use bla && echo y || echo n)"
28 export BUILD_PARAMS
29 export KERNELPATH="${KERNEL_DIR}"
30 linux-mod_src_compile
31 }
32
33 src_install() {
34 linux-mod_src_install
35 dodoc README CHANGELOG
36 }

  ViewVC Help
Powered by ViewVC 1.1.20