diff options
author | Harry Smallbones <info@harrysmallbones.co.uk> | 2021-05-19 23:44:46 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-06-09 09:08:33 +0300 |
commit | b40874dbe47298afba41e3cdbb3b7d344cc64294 (patch) | |
tree | 32dec55fc49d2b1eb9ce22d31998864b8e76663e /net-misc/batctl | |
parent | app-crypt/tpm2-tools: Remove old (diff) | |
download | gentoo-b40874dbe47298afba41e3cdbb3b7d344cc64294.tar.gz gentoo-b40874dbe47298afba41e3cdbb3b7d344cc64294.tar.bz2 gentoo-b40874dbe47298afba41e3cdbb3b7d344cc64294.zip |
net-misc/batctl: Version bump to 2021.1
Closes: https://bugs.gentoo.org/790998
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Harry Smallbones <info@harrysmallbones.co.uk>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/batctl')
-rw-r--r-- | net-misc/batctl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/batctl/batctl-2021.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest index 8fe6a84fb05b..3e87b3b9eaef 100644 --- a/net-misc/batctl/Manifest +++ b/net-misc/batctl/Manifest @@ -1 +1,2 @@ DIST batctl-2021.0.tar.gz 108424 BLAKE2B e6823c730348483582ad3724a3ef5a67ba0c429ccea114a650ea23cae22d6fae256f95992777a9a7634ad29315085a3f7f91c6ea45d46568ce9b422fe58d8290 SHA512 87a773667377826d2d7fcdc16d2b34f61e3d02ed8303617bf33f5ef9d5a9c46cfe6bfe560ff8899c45290ce3e8581ddf798991590f48ba3e70b2e0e07f7a8e69 +DIST batctl-2021.1.tar.gz 115688 BLAKE2B 44d77e82b8ee770212d5c1774b14b09dcc6c06741ecb2ad649addb8e837fe833905ab9ae3862bc1d816ea40c9e6d0dd3a6c6a298787e6dc7b475e0e767bc3358 SHA512 542343db3fb7d8f773656d9049285816359b0c94d7b26f26d5993209cae561b4b62442eef919b65bc46e0d8d23b10afd2f3d8c4beb2841641fffc643f65d8de6 diff --git a/net-misc/batctl/batctl-2021.1.ebuild b/net-misc/batctl/batctl-2021.1.ebuild new file mode 100644 index 000000000000..6ac8ab8cc2d2 --- /dev/null +++ b/net-misc/batctl/batctl-2021.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |