blob: 6b1f3548a7500535ec656468c97add07386337aa (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1.ebuild,v 1.1 2005/04/30 15:42:35 karltk Exp $
inherit java-pkg
MY_PV=${PV/./_}
DESCRIPTION="J2EE Application Deployment Specification"
HOMEPAGE="http://java.sun.com/j2ee/tools/deployment/"
SRC_URI="http://dev.gentoo.org/~karltk/projects/java/distfiles/j2ee_deployment-${MY_PV}-fr-class.zip
doc? ( http://dev.gentoo.org/~karltk/projects/java/distfiles/j2ee_deployment-${MY_PV}-fr-doc.zip )"
LICENSE="sun-bcla-j2ee-deployment"
SLOT="1.1"
KEYWORDS="~x86"
IUSE="doc"
DEPEND="virtual/jdk"
RDEPEND="virtual/jre"
S=${WORKDIR}
src_compile() {
jar cvf ${PN}.jar javax
}
src_install() {
use doc && java-pkg_dohtml -r doc/*
dojar ${PN}.jar
}
|