mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
33 lines
656 B
Bash
33 lines
656 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Determines where a given nameserver gets its information from"
|
|
HOMEPAGE="https://www.mavetju.org/unix/general.php"
|
|
SRC_URI="https://www.mavetju.org/download/${P}.tar.bz2 -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm ~hppa ~ppc ppc64 ~s390 ~sparc x86"
|
|
|
|
BDEPEND="dev-lang/perl"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-1.9-argv0.patch
|
|
)
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
doman ${PN}.8
|
|
|
|
dodoc CHANGES CONTACT README
|
|
}
|