blob: 1b60207deda90efc5f6d5150cf44690a0163c328 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/hessian-3.1.6.ebuild,v 1.3 2008/06/17 12:39:25 nelchael Exp $
EAPI=1
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Binary web service protocol."
HOMEPAGE="http://hessian.caucho.com/"
SRC_URI="http://hessian.caucho.com/download/${P}-src.jar"
LICENSE="Apache-1.1"
SLOT="3.1"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
COMMON_DEP="java-virtuals/servlet-api:2.4"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip
${COMMON_DEP}"
EANT_BUILD_TARGET="all"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
mkdir -p "${S}/src"
mkdir -p "${S}/lib"
cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml"
cd "${S}/src"
mv ../com .
cd "${S}/lib"
java-pkg_jarfrom --virtual servlet-api:2.4
}
src_install() {
java-pkg_dojar "hessian.jar"
java-pkg_dojar "burlap.jar"
java-pkg_dojar "services.jar"
use source && java-pkg_dosrc src
}
|