From 46eedbedafdb0040c37884982d4c775ce277fb7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Oct 2021 10:22:14 +0100 Subject: gentoo resync : 20.10.2021 --- net-misc/mstpd/mstpd-0.1.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 net-misc/mstpd/mstpd-0.1.0.ebuild (limited to 'net-misc/mstpd/mstpd-0.1.0.ebuild') diff --git a/net-misc/mstpd/mstpd-0.1.0.ebuild b/net-misc/mstpd/mstpd-0.1.0.ebuild new file mode 100644 index 000000000000..c8603cd165e9 --- /dev/null +++ b/net-misc/mstpd/mstpd-0.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools bash-completion-r1 systemd + +DESCRIPTION="Multiple spanning tree protocol daemon" +HOMEPAGE="https://github.com/mstpd/mstpd" +SRC_URI="https://github.com/mstpd/mstpd/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-bashcompletiondir="$(get_bashcompdir)" \ + --with-systemdunitdir="$(systemd_get_systemunitdir)" \ + --localstatedir="${EPREFIX}"/ +} + +src_install() { + default + dosym ../../sbin/bridge-stp /lib/mstpctl-utils/mstpctl_restart_config + dosym bridge-stp /sbin/mstp_restart +} -- cgit v1.2.3