diff options
author | Harry Smallbones <info@harrysmallbones.co.uk> | 2021-10-27 16:44:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-31 02:56:16 +0000 |
commit | 73267d0feb8e54ed908202b113504894210b70a4 (patch) | |
tree | 0555308471fd903cb0fefe59deacf9efa2a0fc93 /net-misc | |
parent | net-im/signal-desktop-bin: remove old version (diff) | |
download | gentoo-73267d0feb8e54ed908202b113504894210b70a4.tar.gz gentoo-73267d0feb8e54ed908202b113504894210b70a4.tar.bz2 gentoo-73267d0feb8e54ed908202b113504894210b70a4.zip |
net-misc/batctl: Version bump to 2021.3, EAPI 8
Closes: https://bugs.gentoo.org/820530
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Harry Smallbones <info@harrysmallbones.co.uk>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/batctl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/batctl/batctl-2021.3.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest index c261c52e52a8..f21a523c01c4 100644 --- a/net-misc/batctl/Manifest +++ b/net-misc/batctl/Manifest @@ -1 +1,2 @@ DIST batctl-2021.1.tar.gz 115688 BLAKE2B 44d77e82b8ee770212d5c1774b14b09dcc6c06741ecb2ad649addb8e837fe833905ab9ae3862bc1d816ea40c9e6d0dd3a6c6a298787e6dc7b475e0e767bc3358 SHA512 542343db3fb7d8f773656d9049285816359b0c94d7b26f26d5993209cae561b4b62442eef919b65bc46e0d8d23b10afd2f3d8c4beb2841641fffc643f65d8de6 +DIST batctl-2021.3.tar.gz 116753 BLAKE2B 41a46749659d9edc2530f75aaf88418f4f22ca657f93ead6188561f72a68c5fe0d8c72d4600413d2cb1514106803bad0ae0e157177f3ec81ed8d36071f34437c SHA512 c30eab9d08f307649c0e92e69b35cba54e8c07b32aa686a94ad3db5b639c5433b2cee8eb0877235bcb08611da0d104434fbc3b61aad3cfea45bbb00ba329305e diff --git a/net-misc/batctl/batctl-2021.3.ebuild b/net-misc/batctl/batctl-2021.3.ebuild new file mode 100644 index 000000000000..6dcab8083ac0 --- /dev/null +++ b/net-misc/batctl/batctl-2021.3.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 +} |