blob: 5d20f5fcdc6c5eb2c0018a9b3da50199cd4f2a86 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jettison/jettison-1.0.ebuild,v 1.3 2009/02/05 16:44:01 mr_bones_ Exp $
EAPI=2
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A JSON StAX implementation"
HOMEPAGE="http://jettison.codehaus.org/"
SRC_URI="http://repository.codehaus.org/org/codehaus/${PN}/${PN}/${PV}/${P}-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
COMMON_DEP="java-virtuals/jaxp-virtual"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
${COMMON_DEP}"
#Don't need to make one
S="${WORKDIR}"
src_prepare(){
#no supplied Build file
cp -v "${FILESDIR}"/build.xml "${S}/build.xml" || die
}
EANT_GENTOO_CLASSPATH="jaxp-virtual"
src_install() {
java-pkg_dojar dist/"${PN}.jar"
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc org
}
|