diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-08-04 03:52:50 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-08-04 03:52:50 +0000 |
commit | 4d69ef6c8d407ece0da1551fcbbcd8601831e659 (patch) | |
tree | 66db6e8f440e7ddd9e43412bf011cb31546e8bf0 /dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild | |
parent | Revision bump to support new Java system (diff) | |
download | historical-4d69ef6c8d407ece0da1551fcbbcd8601831e659.tar.gz historical-4d69ef6c8d407ece0da1551fcbbcd8601831e659.tar.bz2 historical-4d69ef6c8d407ece0da1551fcbbcd8601831e659.zip |
Revision bump to support new Java system
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild')
-rw-r--r-- | dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild b/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild new file mode 100644 index 000000000000..9a98d851144e --- /dev/null +++ b/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild,v 1.1 2006/08/04 03:52:50 nichoj Exp $ + +inherit eutils java-pkg-2 + +MY_PN="jdic" +MY_P=${MY_PN}-${PV} +DESCRIPTION="The JDesktop Integration Components (JDIC) tray icon API" +HOMEPAGE="https://jdic.dev.java.net/" +SRC_URI="https://jdic.dev.java.net/files/documents/880/16466/${MY_P}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples source" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + app-arch/unzip + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}-src/${MY_PN}" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/0.8.7-gentoo.patch + find -type d -name CVS -exec rm -r {} \; >/dev/null 2>&1 +} + +src_compile() { + eant buildunixjar buildunixjni_tray $(use_doc docs) +} + +src_install() { + cd ${S}/dist/linux + java-pkg_dojar jdic.jar + java-pkg_doso libtray.so + use doc && java-pkg_dohtml -r ${S}/../docs/* + use source && java-pkg_dosrc ${S}/src/share/classes/* ${S}/src/unix/classes/* + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r ${S}/demo/Tray/* ${D}/usr/share/doc/${PF}/examples/ + fi +} |