/[gentoo-x86]/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild
Gentoo

Contents of /dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Jun 19 16:07:42 2012 UTC (3 years ago) by sera
Branch: MAIN
Changes since 1.10: +9 -6 lines
sun to oracle, fix hompage, download link and license. #421569

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild,v 1.10 2010/01/03 20:57:10 fauli Exp $
4
5 EAPI=4
6
7 JAVA_PKG_IUSE="doc examples"
8
9 inherit java-pkg-2
10
11 MY_P=jmx-${PV//./_}
12 DESCRIPTION="Java Management Extensions for managing and monitoring devices, applications, and services."
13 HOMEPAGE="http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html"
14 SRC_URI="${MY_P}-ri.zip"
15
16 LICENSE="Oracle-BCLA-JavaSE"
17 SLOT="0"
18 KEYWORDS="amd64 ppc ppc64 x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
19 IUSE=""
20
21 DEPEND=">=virtual/jdk-1.4
22 app-arch/unzip"
23 RDEPEND=">=virtual/jre-1.4"
24 RESTRICT="fetch"
25
26 S="${WORKDIR}/${MY_P}-bin"
27
28 DOWNLOADSITE="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html"
29
30 src_compile() { :; }
31
32 pkg_nofetch() {
33 einfo
34 einfo " Due to license restrictions, we cannot fetch the"
35 einfo " distributables automagically."
36 einfo
37 einfo " 1. Visit ${DOWNLOADSITE} and follow instructions"
38 einfo " 2. Download ${SRC_URI}"
39 einfo " 3. Move file to ${DISTDIR}"
40 einfo " 4. Run emerge on this package again to complete"
41 einfo
42 }
43
44 src_install() {
45 java-pkg_dojar lib/*.jar
46 if use doc; then
47 java-pkg_dojavadoc doc/api
48 java-pkg_dohtml -r doc/doc doc/index.html
49 fi
50 use examples && java-pkg_doexamples examples
51 }

  ViewVC Help
Powered by ViewVC 1.1.20