# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ EAPI=2 DESCRIPTION="A fully automated, active web application security reconnaissance tool" HOMEPAGE="http://code.google.com/p/skipfish/" SRC_URI="http://skipfish.googlecode.com/files/${PN}-${PV}.tgz" LICENSE="Apache-2.0" SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PN}" DEPEND="dev-libs/openssl net-dns/idnkit" RDEPEND="" src_prepare() { sed -i "s:^\(CFLAGS_GEN[\t ]*=[\t ]*\):\1${CFLAGS} :" \ "${S}"/Makefile || die } src_compile() { emake || die "failed to compile" } src_install() { dodoc README ChangeLog dobin skipfish dodir /usr/share/${PN}/dictionaries insinto /usr/share/${PN}/dictionaries doins ./dictionaries/* dodir /usr/share/${PN}/assets insinto /usr/share/${PN}/assets doins ./assets/* } pkg_postinst() { elog "Dictionaries are installed in /usr/share/${PN}/dictionaries/." }