summaryrefslogtreecommitdiff
blob: 8ce026dd37a58e5a1a2951759d2f0a0504c5c221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/webscarab/webscarab-20070504.ebuild,v 1.5 2012/03/25 07:25:05 radhermit Exp $

EAPI="5"
inherit git-2 java-pkg-2 java-ant-2
DESCRIPTION="A framework for analysing applications that communicate using the HTTP and HTTPS protocols"
HOMEPAGE="https://www.owasp.org/index.php/Webscarab"

if [[ ${PV} == 9999 ]]; then
	EGIT_REPO_URI="https://github.com/OWASP/OWASP-WebScarab.git"
else
	SRC_URI="mirror://sourceforge/owasp/${PN}-selfcontained-${PV}-1631.jar"
	KEYWORDS="~amd64 ~ppc ~x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND=">=virtual/jdk-1.5"
RDEPEND=">=virtual/jre-1.5"

EANT_BUILD_TARGET="build"

src_install() {
	java-pkg_dojar ${PN}.jar
	java-pkg_dolauncher ${PN} --jar ${PN}.jar
}