summaryrefslogtreecommitdiff
blob: 7bfcea86d3dbbd489e2318b1db9f0deedb9eec52 (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
28
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="a tool for scanning for mDNS/DNS-SD published services"
HOMEPAGE="http://0pointer.de/lennart/projects/mdns-scan/"
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

src_prepare() {
	sed -i "s#-Wall -W -g -O0 -pipe#${CFLAGS} ${LDFLAGS}#" Makefile
	sed -i "s#-o #${CFLAGS} ${LDFLAGS} -o #" Makefile
	default
}

src_install() {
	dodir /usr/bin
	default
}