mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-04 06:24:50 +01:00
36 lines
631 B
Bash
36 lines
631 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
inherit eutils
|
|
|
|
DESCRIPTION="The Internet Scanner"
|
|
HOMEPAGE="https://zmap.io/index.html"
|
|
SRC_URI="https://github.com/zmap/zmap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="net-libs/libpcap"
|
|
DEPEND="${RDEPEND}
|
|
dev-util/gengetopt"
|
|
#libgmp3-dev
|
|
|
|
src_compile() {
|
|
cd src
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
dodoc AUTHORS CHANGELOG README
|
|
cd src
|
|
dosbin zmap
|
|
doman zmap.1
|
|
|
|
insinto /etc/zmap
|
|
doins ../conf/zmap.conf
|
|
doins ../conf/blacklist.conf
|
|
}
|