From 5b6cf56c35f53484063dfa46f0fa41df9432433d Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Sun, 23 Aug 2020 04:13:37 +0300 Subject: net-dns/mdns-repeater: update version Migrate from bitbucket to github, respect system CFLAGS and LDFLAGS. Closes: https://bugs.gentoo.org/724962 Closes: https://bugs.gentoo.org/724944 Bug: https://bugs.gentoo.org/737896 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov Signed-off-by: Joonas Niilola --- net-dns/mdns-repeater/mdns-repeater-1.11.ebuild | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net-dns/mdns-repeater/mdns-repeater-1.11.ebuild (limited to 'net-dns/mdns-repeater/mdns-repeater-1.11.ebuild') diff --git a/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild b/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild new file mode 100644 index 000000000000..70e66393f0c6 --- /dev/null +++ b/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Multicast DNS repeater" +HOMEPAGE="https://github.com/kennylevinsen/mdns-repeater" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm" + +SRC_URI="https://github.com/kennylevinsen/mdns-repeater/archive/${PV}.tar.gz -> ${P}.tar.gz" + +PATCHES=( + "${FILESDIR}/${P}-system-compiler-options.patch" +) + +src_compile() { + emake HGVERSION="${PV}" CC=$(tc-getCC) +} + +src_install() { + dobin "${PN}" + dodoc README.txt +} -- cgit v1.2.3-65-gdbad