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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 23 22:08:20 2014 UTC (5 years, 1 month ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump w/ improved CONFIG_CHECK (thanks  Antonio Quartulli, bug 502230) and USE=mcast, drop old versions.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 # Copyright 1999-2014 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-2013.4.0.ebuild,v 1.1 2013/11/24 22:57:51 xmw Exp $
4
5 EAPI=4
6
7 CONFIG_CHECK="~!BATMAN_ADV ~LIBCRC32C ~CRC16"
8 MODULE_NAMES="${PN}(net:${S}:${S})"
9 BUILD_TARGETS="all"
10
11 inherit eutils 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="bla dat debug nc mcast"
21
22 DEPEND=""
23 RDEPEND=""
24
25 src_compile() {
26 BUILD_PARAMS="CONFIG_BATMAN_ADV_DEBUG=$(usex debug y n)"
27 BUILD_PARAMS+=" CONFIG_BATMAN_ADV_BLA=$(usex bla y n)"
28 BUILD_PARAMS+=" CONFIG_BATMAN_ADV_DAT=$(usex dat y n)"
29 BUILD_PARAMS+=" CONFIG_BATMAN_ADV_NC=$(usex nc y n)"
30 BUILD_PARAMS+=" CONFIG_BATMAN_ADV_NC=$(usex mcast y n)"
31 export BUILD_PARAMS
32 export KERNELPATH="${KERNEL_DIR}"
33 linux-mod_src_compile
34 }
35
36 src_install() {
37 linux-mod_src_install
38 dodoc README CHANGELOG
39 }

  ViewVC Help
Powered by ViewVC 1.1.20