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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Oct 24 05:04:38 2007 UTC (6 years, 9 months ago) by wltjr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed java gen 1 ebuild, quoted vars.
(Portage version: 2.1.3.15)

1 # Copyright 1999-2005 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.8.7.ebuild,v 1.4 2005/05/04 19:19:52 luckyduck Exp $
4
5 inherit eutils java-pkg
6
7 MY_P="jdic"
8 DESCRIPTION="The JDesktop Integration Components (JDIC) tray icon API"
9 HOMEPAGE="https://jdic.dev.java.net/"
10 SRC_URI="https://jdic.dev.java.net/files/documents/880/9849/jdic-${PV}-src.zip"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="x86 amd64 ~ppc"
15 IUSE="doc examples jikes source"
16
17 DEPEND=">=virtual/jdk-1.4
18 dev-java/ant-core
19 app-arch/unzip
20 jikes? ( >=dev-java/jikes-1.21 )
21 source? ( app-arch/zip )"
22 RDEPEND=">=virtual/jre-1.4"
23
24 S="${WORKDIR}/${MY_P}-${PV}-src/${MY_P}"
25
26 src_unpack() {
27 unpack ${A}
28 cd ${S}
29
30 epatch ${FILESDIR}/${PV}-gentoo.patch
31 }
32
33 src_compile() {
34 local antflags="buildtray"
35 use doc && antflags="${antflags} docs"
36 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
37 ant ${antflags} || die "ant build failed"
38 }
39
40 src_install() {
41 cd ${WORKDIR}/${MY_P}-${PV}-src/
42
43 cd ${S}/dist/linux
44 java-pkg_dojar jdic.jar
45 java-pkg_doso libtray.so
46
47 use doc && java-pkg_dohtml -r docs/*
48 use source && java-pkg_dosrc ${S}/src/unix/*
49 if use examples; then
50 dodir /usr/share/doc/${PF}/examples
51 cp -r ${S}/demo/* ${D}/usr/share/doc/${PF}/examples
52 fi
53 }

  ViewVC Help
Powered by ViewVC 1.1.20