summaryrefslogtreecommitdiff
blob: 70e66393f0c67a8ff0effec8ab4552c9115e484d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}