diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 22:23:42 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 23:56:26 +0100 |
commit | 68f888b0aa9d03082af79eda3ac9d97e39d5de59 (patch) | |
tree | 68e98cc7e6bc21a764a9d13829b1b31be7ab3fb0 /net-misc | |
parent | net-misc/ipmiview: drop 2.19.0.210401 (diff) | |
download | gentoo-68f888b0aa9d03082af79eda3ac9d97e39d5de59.tar.gz gentoo-68f888b0aa9d03082af79eda3ac9d97e39d5de59.tar.bz2 gentoo-68f888b0aa9d03082af79eda3ac9d97e39d5de59.zip |
net-misc/mcproxy: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/mcproxy/mcproxy-1.1.1-r2.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/mcproxy/mcproxy-1.1.1-r2.ebuild b/net-misc/mcproxy/mcproxy-1.1.1-r2.ebuild new file mode 100644 index 000000000000..18b13e778d5f --- /dev/null +++ b/net-misc/mcproxy/mcproxy-1.1.1-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info qmake-utils systemd + +DESCRIPTION="A multicast proxy for IGMP/MLD" +HOMEPAGE="https://mcproxy.realmv6.org/ https://github.com/mcproxy/mcproxy" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}/${PN}" + +KEYWORDS="amd64 x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc" + +DEPEND=" + dev-qt/qtcore:5 + doc? ( app-doc/doxygen ) +" + +PATCHES=( + "${FILESDIR}/${P}-clang.patch" + "${FILESDIR}/${P}-fix-checksum-calculation.patch" +) + +CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE" + +src_prepare() { + # Change install path from '/usr/local/bin' to '/usr/bin' + sed -e 's/local//' -i mcproxy.pro || die + + default +} + +src_configure() { + eqmake5 +} + +src_compile() { + default + + use doc && emake doc +} + +src_install() { + emake INSTALL_ROOT="${ED}" install + + insinto /etc + doins mcproxy.conf + + newinitd "${FILESDIR}"/mcproxy.initd mcproxy + systemd_dounit "${FILESDIR}"/mcproxy.service + + newconfd "${FILESDIR}"/mcproxy.confd mcproxy + + use doc && dodoc -r ../docs/. +} |