summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-12-11 11:52:39 +0100
committerMichael Weber <xmw@gentoo.org>2017-12-11 11:52:39 +0100
commit3d51450eefade6863f443b07a2f16adcd7316fa5 (patch)
tree724697a0cf8c8ddde95c4d22fcac3d9407fcc494 /net-misc/batctl
parentnet-misc/batctl: Switch to https:// (https://github.com/gentoo/gentoo/pull/5505) (diff)
downloadgentoo-3d51450eefade6863f443b07a2f16adcd7316fa5.tar.gz
gentoo-3d51450eefade6863f443b07a2f16adcd7316fa5.tar.bz2
gentoo-3d51450eefade6863f443b07a2f16adcd7316fa5.zip
net-misc/batctl: Version bump.
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'net-misc/batctl')
-rw-r--r--net-misc/batctl/Manifest1
-rw-r--r--net-misc/batctl/batctl-2017.4.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest
index 0baec3b34723..f6213d631991 100644
--- a/net-misc/batctl/Manifest
+++ b/net-misc/batctl/Manifest
@@ -1,2 +1,3 @@
DIST batctl-2013.4.0.tar.gz 53074 BLAKE2B 2cabbbf496fc7390613249a7b94298bb123dc75add662a6ef7ac0773d340f0d5cb346afc01638089beccec1f366f1d76fead43e194da96b2a51ac19fc16097a9 SHA512 1c099f8b5633923669e41a01b8364f3b665de2c67efe05a1938e1977ffe6067e91be308f3445492001acd5e6fc0c9c930610edf351bda6920579b80b45811011
DIST batctl-2014.2.0.tar.gz 56536 BLAKE2B f635c83ff3ff5b3b7573e436ca98fcda576ba4421fff00551d83fe72f5814bc2d3ec85416a54d5848a1a284153846abe48e8bdecc78c93015850783b9fbc0f85 SHA512 4d78cd0914dce293b9a88c26f2b0f692fd8061aef6f47deeea433a0e700f6d11e608043981e1859dd36ed58b7bbe31483937b1f05070a210b0d55875160d2ca6
+DIST batctl-2017.4.tar.gz 85865 BLAKE2B 9d8786956b69407d46d1b024a40c3db2a80bbcce7c02e8e7d98234d06aaa3cd4fe86dd9331806699a7310ac41b7a758c324bcb6c3daf378da0db0a8858f814df SHA512 a3ce3f32ed1eaa65aee4a9ac56d8e235b861b3844a13fe050cfc0e707bbdf382fd2e6e4ecb35b7777f79020cb241e063f473d28f1b2e312f865e6dce304b4b9f
diff --git a/net-misc/batctl/batctl-2017.4.ebuild b/net-misc/batctl/batctl-2017.4.ebuild
new file mode 100644
index 000000000000..1a86c94be2ba
--- /dev/null
+++ b/net-misc/batctl/batctl-2017.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="BATMAN advanced control and management tool"
+HOMEPAGE="https://www.open-mesh.org/"
+SRC_URI="https://downloads.open-mesh.org/batman/releases/batman-adv-${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/libnl:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ if ( linux_config_exists && linux_chkconfig_present BATMAN_ADV ) \
+ || ! has_version net-misc/batman-adv ; then
+ ewarn "You need the batman-adv kernel module,"
+ ewarn "either from the kernel tree or via net-misc/batman-adv"
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" V=1 REVISION=gentoo-"${PVR}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ dodoc README.rst
+}