1 |
commit: 7465d77e0494934e9e400eb590b87b601b395a1a |
2 |
Author: Harry Smallbones <info <AT> harrysmallbones <DOT> co <DOT> uk> |
3 |
AuthorDate: Thu Jul 16 01:20:48 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 5 12:18:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7465d77e |
7 |
|
8 |
net-misc/batctl: Version bump to 2020.2 |
9 |
|
10 |
Signed-off-by: Harry Smallbones <info <AT> harrysmallbones.co.uk> |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/16388 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
net-misc/batctl/Manifest | 1 + |
16 |
net-misc/batctl/batctl-2020.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 35 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest |
20 |
index 345bfff2a45..7c9bff480ca 100644 |
21 |
--- a/net-misc/batctl/Manifest |
22 |
+++ b/net-misc/batctl/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST batctl-2020.1.tar.gz 112004 BLAKE2B fdf99b97edfb1b65df3b6cfd3b99148e21a6fc201c5a6b2d2bfeedddfa18e22903b33811d8b9adf6d4a2b53ab9ca35602fdb90b48f97fb40e4edf9643264609e SHA512 b6f4b98a3a8450badf7d8dda2c23e0f91a1f3e0c6d9db96d220451ee4f2f5ea703206a888d504cc3b8594c4255a6ccea851e4da6d1c7869842a62ee0bac6ce8b |
25 |
+DIST batctl-2020.2.tar.gz 112155 BLAKE2B 9d36baf4f728163b12d63bf2b690b75633119ebc22a734668aaaae97d9c0a37ac1906dec40f62987d7c9db2ca6b0c7867164c989f3f3f5834bbc5c562b842852 SHA512 4990eece371320107cd522f5dc6ff4ecd2867d8b77ddb8a09b8c8fc81c6cf2a88df6635f026b16a2c59fc05532a82ecafae206fb1581ac7e1f863043eb3afa93 |
26 |
|
27 |
diff --git a/net-misc/batctl/batctl-2020.2.ebuild b/net-misc/batctl/batctl-2020.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..dc9f33ff920 |
30 |
--- /dev/null |
31 |
+++ b/net-misc/batctl/batctl-2020.2.ebuild |
32 |
@@ -0,0 +1,34 @@ |
33 |
+# Copyright 2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
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 |
+IUSE="" |
48 |
+ |
49 |
+BDEPEND="virtual/pkgconfig" |
50 |
+RDEPEND="dev-libs/libnl:3" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+pkg_setup() { |
54 |
+ if ! linux_config_exists || ! linux_chkconfig_present BATMAN_ADV; then |
55 |
+ ewarn "batctl requires batman-adv kernel support" |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ emake CC="$(tc-getCC)" V=1 REVISION="gentoo-${PVR}" |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
65 |
+ dodoc README.rst |
66 |
+} |