pentoo-overlay/net-analyzer/massdns/massdns-0.3.ebuild
Yury Martynov 2c224f57a7
net-analyzer/massdns: 0.3 bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
2020-03-31 09:03:20 +03:00

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
}