# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs eutils DESCRIPTION="DNSA is a tool for Linux designed to test several DNS security issues" HOMEPAGE="http://www.packetfactory.net/projects/dnsa/" SRC_URI="http://www.packetfactory.net/projects/dnsa/dnsa-current.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="net-libs/libnet net-libs/libpcap" src_compile() { cd ${WORKDIR}/${P}/sources econf || die "emake failed" emake || die "emake failed" } src_install() { cd ${WORKDIR}/${P}/sources emake DESTDIR="${D}" install || die "emake install failed" dodoc README TODO KNOWN_BUGS }