1 |
commit: 73267d0feb8e54ed908202b113504894210b70a4 |
2 |
Author: Harry Smallbones <info <AT> harrysmallbones <DOT> co <DOT> uk> |
3 |
AuthorDate: Wed Oct 27 15:44:37 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 02:56:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73267d0f |
7 |
|
8 |
net-misc/batctl: Version bump to 2021.3, EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/820530 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Harry Smallbones <info <AT> harrysmallbones.co.uk> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
net-misc/batctl/Manifest | 1 + |
16 |
net-misc/batctl/batctl-2021.3.ebuild | 33 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 34 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest |
20 |
index c261c52e52a..f21a523c01c 100644 |
21 |
--- a/net-misc/batctl/Manifest |
22 |
+++ b/net-misc/batctl/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST batctl-2021.1.tar.gz 115688 BLAKE2B 44d77e82b8ee770212d5c1774b14b09dcc6c06741ecb2ad649addb8e837fe833905ab9ae3862bc1d816ea40c9e6d0dd3a6c6a298787e6dc7b475e0e767bc3358 SHA512 542343db3fb7d8f773656d9049285816359b0c94d7b26f26d5993209cae561b4b62442eef919b65bc46e0d8d23b10afd2f3d8c4beb2841641fffc643f65d8de6 |
25 |
+DIST batctl-2021.3.tar.gz 116753 BLAKE2B 41a46749659d9edc2530f75aaf88418f4f22ca657f93ead6188561f72a68c5fe0d8c72d4600413d2cb1514106803bad0ae0e157177f3ec81ed8d36071f34437c SHA512 c30eab9d08f307649c0e92e69b35cba54e8c07b32aa686a94ad3db5b639c5433b2cee8eb0877235bcb08611da0d104434fbc3b61aad3cfea45bbb00ba329305e |
26 |
|
27 |
diff --git a/net-misc/batctl/batctl-2021.3.ebuild b/net-misc/batctl/batctl-2021.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6dcab8083ac |
30 |
--- /dev/null |
31 |
+++ b/net-misc/batctl/batctl-2021.3.ebuild |
32 |
@@ -0,0 +1,33 @@ |
33 |
+# Copyright 2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit linux-info toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="BATMAN advanced control and management tool" |
41 |
+HOMEPAGE="https://www.open-mesh.org/" |
42 |
+SRC_URI="https://downloads.open-mesh.org/batman/releases/batman-adv-${PV}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2 MIT ISC" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+BDEPEND="virtual/pkgconfig" |
49 |
+RDEPEND="dev-libs/libnl:3" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+pkg_setup() { |
53 |
+ if ! linux_config_exists || ! linux_chkconfig_present BATMAN_ADV; then |
54 |
+ ewarn "batctl requires batman-adv kernel support" |
55 |
+ fi |
56 |
+} |
57 |
+ |
58 |
+src_compile() { |
59 |
+ emake CC="$(tc-getCC)" V=1 REVISION="gentoo-${PVR}" |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
64 |
+ dodoc README.rst |
65 |
+} |