mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru>
32 lines
688 B
Bash
32 lines
688 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
CMAKE_IN_SOURCE_BUILD="true"
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="A high-performance DNS stub resolver for bulk lookups and reconnaissance"
|
|
HOMEPAGE="https://github.com/blechschmidt/massdns"
|
|
|
|
if [[ ${PV} == *9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/blechschmidt/massdns"
|
|
else
|
|
SRC_URI="https://github.com/blechschmidt/massdns/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
src_install() {
|
|
dobin $PN
|
|
dodoc README.md Dockerfile
|
|
|
|
insinto "/usr/share/${PN}"
|
|
doins -r lists
|
|
insopts -m755
|
|
doins -r scripts
|
|
}
|