pentoo-overlay/net-analyzer/zmap/zmap-1.0.2.ebuild
2013-08-19 16:30:31 +00:00

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
}