/[gentoo-x86]/dev-java/jdictrayapi/jdictrayapi-0.9.1.ebuild
Gentoo

Contents of /dev-java/jdictrayapi/jdictrayapi-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 18 18:15:49 2007 UTC (7 years, 10 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Removed old revisions.
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/jdictrayapi-0.9.1.ebuild,v 1.3 2006/05/02 13:14:39 axxo Exp $
4
5 inherit eutils java-pkg
6
7 MY_PN="jdic"
8 MY_P=${MY_PN}-${PV}
9 DESCRIPTION="The JDesktop Integration Components (JDIC) tray icon API"
10 HOMEPAGE="https://jdic.dev.java.net/"
11 SRC_URI="https://jdic.dev.java.net/files/documents/880/16466/${MY_P}-src.zip"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="doc examples jikes source"
17
18 DEPEND=">=virtual/jdk-1.4
19 dev-java/ant-core
20 app-arch/unzip
21 jikes? ( >=dev-java/jikes-1.21 )
22 source? ( app-arch/zip )"
23 RDEPEND=">=virtual/jre-1.4"
24
25 S="${WORKDIR}/${MY_P}-src/${MY_PN}"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30
31 epatch ${FILESDIR}/0.8.7-gentoo.patch
32 find -type d -name CVS -exec rm -r {} \; >/dev/null 2>&1
33 }
34
35 src_compile() {
36 local antflags="buildtray"
37 use doc && antflags="${antflags} docs"
38 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
39 ant ${antflags} || die "ant build failed"
40 }
41
42 src_install() {
43 cd ${WORKDIR}/${MY_P}-${PV}-src/
44
45 cd ${S}/dist/linux
46 java-pkg_dojar jdic.jar
47 java-pkg_doso libtray.so
48
49 use doc && java-pkg_dohtml -r docs/*
50 use source && java-pkg_dosrc ${S}/src/share/classes/* ${S}/src/unix/classes/*
51 if use examples; then
52 dodir /usr/share/doc/${PF}/examples
53 cp -r ${S}/demo/* ${D}/usr/share/doc/${PF}/examples
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20