mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
32 lines
688 B
Bash
32 lines
688 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
CMAKE_IN_SOURCE_BUILD="true"
|
|
|
|
inherit cmake
|
|
|
|
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 bin/${PN}
|
|
dodoc README.md Dockerfile
|
|
|
|
insinto "/usr/share/${PN}"
|
|
doins -r lists
|
|
insopts -m755
|
|
doins -r scripts
|
|
}
|