summaryrefslogtreecommitdiff
path: root/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild
blob: 959b386e9a073eafd9557c66edf120e19d601d88 (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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Open DHCP Locator"
HOMEPAGE="https://odhcploc.sourceforge.io"
SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"

src_configure() {
	# Don't clobber toolchain defaults
	sed -i -e 's:-Wp,-D_FORTIFY_SOURCE=2::' Makefile || die

	tc-export CC
}

src_install() {
	dobin ${PN}
	doman ${PN}.8
	dodoc AUTHORS
}