# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils subversion

MY_P="${PN}-v${PV}"
DESCRIPTION="A tool designed to find vulnerabilities while browsing an application"
HOMEPAGE="http://code.google.com/p/proxystrike/"
ESVN_REPO_URI="http://proxystrike.googlecode.com/svn/trunk/"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc x86"
IUSE="qt4"
RDEPEND="qt4? ( dev-python/PyQt4 )
	 dev-python/pyopenssl
	 dev-python/pycurl
	 dev-python/sip"

DEPEND="${RDEPEND}"
SLOT="0"

src_compile() {
	elog "Nothing to compile"
}

src_install() {
	dodir /usr/lib/${PN}
	cp -R "${S}"/* "${D}"/usr/lib/${PN} || die "Copy files failed"
	dobin "${FILESDIR}/${PN}-cli"
	if use qt4; then dobin "${FILESDIR}/${PN}-gui";	fi
	dodoc README CHANGELOG
}
