1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 inherit eutils flag-o-matic
6 DESCRIPTION="A semi-automated, largely passive web application security audit tool"
7 HOMEPAGE="https://code.google.com/p/ratproxy/"
8 SRC_URI="https://ratproxy.googlecode.com/files/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
15 DEPEND="dev-libs/openssl"
24 sed -i -e "s:keyfile\.pem:/usr/share/${PN}/&:" ssl.c
25 sed -r -i -e "s:(ratproxy-back\.png|messages\.list):/usr/share/${PN}/&:" ratproxy-report.sh
26 epatch "${FILESDIR}"/${PN}-Makefile.patch
32 emake || die "emake failed"
36 dobin ${PN}-report.sh || die "install failed"
37 dobin ${PN} || die "install failed"
38 dodoc doc/{README,TODO}
39 insinto /usr/share/${PN}
40 doins keyfile.pem ratproxy-back.png messages.list