diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-19 19:43:52 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-19 19:43:52 +0000 |
commit | dffca855fa64c63b811d7a79d78a797222cd07b3 (patch) | |
tree | 47f10f5f813ad8cedd3e4eae2fd4cdf0c30f84f7 /dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild | |
parent | Stable on x86. (diff) | |
download | gentoo-2-dffca855fa64c63b811d7a79d78a797222cd07b3.tar.gz gentoo-2-dffca855fa64c63b811d7a79d78a797222cd07b3.tar.bz2 gentoo-2-dffca855fa64c63b811d7a79d78a797222cd07b3.zip |
Initial import. fixes bug #78664
(Portage version: 2.0.51-r12)
Diffstat (limited to 'dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild')
-rw-r--r-- | dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild b/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild new file mode 100644 index 000000000000..737398f1c46b --- /dev/null +++ b/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild,v 1.1 2005/01/19 19:43:52 luckyduck Exp $ + +inherit eutils java-pkg + +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/9849/jdic-${PV}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +MY_P="jdic" +S="${WORKDIR}/${MY_P}-${PV}-src/${MY_P}" + +IUSE="doc examples jikes source" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.5.4 + jikes? ( >=dev-java/jikes-1.21 )" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PV}-gentoo.patch + + for dir in $(find . -name CVS); + do + rm -rf ${dir} + done +} + +src_compile() { + local antflags="buildtray" + use doc && antflags="${antflags} docs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "ant build failed" +} + +src_install() { + cd ${WORKDIR}/${MY_P}-${PV}-src/ + dodoc COPYING + java-pkg_dohtml README.html + + cd ${S}/dist/linux + java-pkg_dojar jdic.jar + java-pkg_doso libtray.so + + if use doc; then + java-pkg_dohtml -r docs/* + fi + if use source; then + dodir /usr/share/doc/${PF}/source + cp ${PN}-src.zip ${D}/usr/share/doc/${PF}/source + fi + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r ${S}/demo/* ${D}/usr/share/doc/${PF}/examples + fi +} |