summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Smallbones <info@harrysmallbones.co.uk>2021-11-24 16:33:39 +0000
committerIonen Wolkens <ionen@gentoo.org>2021-11-27 19:35:20 -0500
commitca5276909f57a2b5499035f48d41b5672c3eb64b (patch)
tree40d22626b6bb249ebf9d93a9b96c5714f41d3955 /net-misc/batctl
parentdev-libs/libtpms: Remove old (diff)
downloadgentoo-ca5276909f57a2b5499035f48d41b5672c3eb64b.tar.gz
gentoo-ca5276909f57a2b5499035f48d41b5672c3eb64b.tar.bz2
gentoo-ca5276909f57a2b5499035f48d41b5672c3eb64b.zip
net-misc/batctl: Version bump to 2021.4
Closes: https://bugs.gentoo.org/827170 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Harry Smallbones <info@harrysmallbones.co.uk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/batctl')
-rw-r--r--net-misc/batctl/Manifest1
-rw-r--r--net-misc/batctl/batctl-2021.4.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest
index 3b1308832da7..53c99a4e968e 100644
--- a/net-misc/batctl/Manifest
+++ b/net-misc/batctl/Manifest
@@ -1 +1,2 @@
DIST batctl-2021.3.tar.gz 116753 BLAKE2B 41a46749659d9edc2530f75aaf88418f4f22ca657f93ead6188561f72a68c5fe0d8c72d4600413d2cb1514106803bad0ae0e157177f3ec81ed8d36071f34437c SHA512 c30eab9d08f307649c0e92e69b35cba54e8c07b32aa686a94ad3db5b639c5433b2cee8eb0877235bcb08611da0d104434fbc3b61aad3cfea45bbb00ba329305e
+DIST batctl-2021.4.tar.gz 116743 BLAKE2B 74dfecd1e07c5f6555fba9e184e887ecdb3c73d423f26af70ff5324acf2477e4ef0768197822e2fdd3e2626564d3b4e637c15a8af628f8e0d70ba48746c1186c SHA512 0a629ab6a52e503fc63b022abf5ada491e7ffd61e2ebda7a169b556b2362943452285d6a0177122634b8c7c0fafedc712d3d6fee82c03e6fd4e2d42d890f87da
diff --git a/net-misc/batctl/batctl-2021.4.ebuild b/net-misc/batctl/batctl-2021.4.ebuild
new file mode 100644
index 000000000000..6dcab8083ac0
--- /dev/null
+++ b/net-misc/batctl/batctl-2021.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 MIT ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="dev-libs/libnl:3"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ if ! linux_config_exists || ! linux_chkconfig_present BATMAN_ADV; then
+ ewarn "batctl requires batman-adv kernel support"
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" V=1 REVISION="gentoo-${PVR}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ dodoc README.rst
+}