summaryrefslogtreecommitdiff
path: root/net-dns/cares-tools/cares-tools-0.3.ebuild
blob: 7a23ac04666f856193b2cdd5e28c9af1f6cbda29 (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
32
33
34
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="c-ares tools: host, nslookup"
HOMEPAGE="https://gitlab.com/grobian/cares-tools"
SRC_URI="https://gitlab.com/grobian/${PN}/-/archive/${PV}/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64-macos ~x64-macos ~x64-solaris"

DEPEND="
	net-dns/c-ares
	sys-libs/readline
"
RDEPEND="${DEPEND}
	!net-dns/ldns-tools
	!net-dns/bind-tools
	!net-dns/bind
"

src_compile() {
	tc-export CC
	default
}

src_install() {
	exeinto /usr/bin
	doexe host nslookup
}