summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/webscarab/webscarab-9999.ebuild')
-rw-r--r--net-proxy/webscarab/webscarab-9999.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-proxy/webscarab/webscarab-9999.ebuild b/net-proxy/webscarab/webscarab-9999.ebuild
new file mode 100644
index 0000000..8ce026d
--- /dev/null
+++ b/net-proxy/webscarab/webscarab-9999.ebuild
@@ -0,0 +1,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
+}