summaryrefslogtreecommitdiff
blob: 2b6ac9ea21177b944b5876d06b7f91e00f616ff8 (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
29
30
31
# Copyright 1999-2024 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"

DEPEND="
	elibc_musl? ( sys-libs/queue-standalone )
"

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
}