1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit linux-info toolchain-funcs
8 DESCRIPTION="BATMAN advanced control and management tool"
9 HOMEPAGE="http://www.open-mesh.org/"
10 SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND="dev-libs/libnl:3"
22 if ( linux_config_exists && linux_chkconfig_present BATMAN_ADV ) \
23 || ! has_version net-misc/batman-adv ; then
24 ewarn "You need the batman-adv kernel module,"
25 ewarn "either from the kernel tree or via net-misc/batman-adv"
30 emake CC="$(tc-getCC)" V=1 REVISION=gentoo-"${PVR}"
34 emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install