quarks/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild

34 lines
649 B
Bash
Raw Normal View History

2011-12-26 20:14:04 +00:00
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
2012-02-07 01:54:22 +00:00
# $Header: $
2011-12-26 20:14:04 +00:00
EAPI=3
DESCRIPTION="A perl script to enumerate DNS from a server"
HOMEPAGE="http://code.google.com/p/dnsenum/"
SRC_URI="http://dnsenum.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="dev-perl/Net-Netmask
dev-perl/XML-Writer"
S="${WORKDIR}/${P/-/}"
src_prepare() {
sed -i 's|perl dnsenum.pl|dnsenum|g' dnsenum.pl || die
}
src_install () {
dodoc README.txt
2011-12-26 22:56:48 +00:00
newbin ${PN}.pl ${PN}
2011-12-26 20:14:04 +00:00
insinto /usr/share/"${PN}"
doins dns.txt
doins dns-big.txt
}