diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2018-10-28 14:06:07 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-11-08 23:28:03 +0100 |
commit | 5183ed3169249b36fce0c603dc4d3340a950311f (patch) | |
tree | 47f895e8e8cbfc877775b78fea7c71d1e976f753 /net-misc/mcproxy | |
parent | app-misc/lcd4linux: bump to EAPI=7. (diff) | |
download | gentoo-5183ed3169249b36fce0c603dc4d3340a950311f.tar.gz gentoo-5183ed3169249b36fce0c603dc4d3340a950311f.tar.bz2 gentoo-5183ed3169249b36fce0c603dc4d3340a950311f.zip |
net-misc/mcproxy: bump to EAPI=7.
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10261
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-misc/mcproxy')
-rw-r--r-- | net-misc/mcproxy/mcproxy-1.1.1-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/mcproxy/mcproxy-1.1.1-r1.ebuild b/net-misc/mcproxy/mcproxy-1.1.1-r1.ebuild new file mode 100644 index 000000000000..5ba92c33d17c --- /dev/null +++ b/net-misc/mcproxy/mcproxy-1.1.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc" + +DEPEND=" + dev-qt/qtcore:5 + doc? ( app-doc/doxygen ) +" + +S="${WORKDIR}/${P}/${PN}" + +PATCHES=( "${FILESDIR}/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/. +} |