net-misc/mstpd - 0.1.0 (gentoo)

Search

Package Information

Description:
Multiple spanning tree protocol daemon
Homepage:
https://github.com/mstpd/mstpd
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.1.0 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 2021-2022 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
}

Manifest for 0.1.0

Type File Size Source URLs
DIST mstpd-0.1.0.tar.gz 115670 bytes https://github.com/mstpd/mstpd/archive/0.1.0.tar.gz