/[gentoo-x86]/net-proxy/paros/paros-3.2.13.ebuild
Gentoo

Contents of /net-proxy/paros/paros-3.2.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Apr 11 12:28:26 2007 UTC (7 years, 8 months ago) by mrness
Branch: MAIN
Changes since 1.3: +2 -2 lines
Remove old version. Stable on amd64.
(Portage version: 2.1.2.3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/paros/paros-3.2.13.ebuild,v 1.3 2007/01/17 20:10:49 mrness Exp $
4
5 inherit eutils
6
7 DESCRIPTION="HTTP/HTTPS proxy for evaluate security of web applications"
8 HOMEPAGE="http://www.parosproxy.org/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
10
11 LICENSE="Clarified-Artistic"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE=""
15
16 DEPEND="app-arch/unzip
17 >=virtual/jdk-1.4.2
18 dev-java/ant"
19 RDEPEND=">=virtual/jre-1.4.2"
20
21 S="${WORKDIR}/${PN}"
22
23 src_unpack() {
24 unpack ${A}
25
26 epatch "${FILESDIR}/${P}-without_embed.patch"
27 }
28
29 src_compile() {
30 cd "${S}/build"
31 ant dist || die "ant failed"
32 }
33
34 src_install() {
35 sed -i -e '1i#!/bin/sh' -e "1icd /usr/share/${PN}" "build/${PN}/startserver.sh"
36 newbin "build/${PN}/startserver.sh" "${PN}"
37 rm build/"${PN}"/startserver.*
38
39 insinto /usr/share
40 doins -r "build/${PN}"
41
42 dodoc src/doc/{*.txt,*.rtf}
43 }

  ViewVC Help
Powered by ViewVC 1.1.20