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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jan 8 20:53:41 2014 UTC (8 months, 3 weeks ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
dev-java/jdictrayapi is gone

1 # Copyright 1999-2009 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-r3.ebuild,v 1.3 2009/01/14 14:30:05 caster Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 MY_PN="jdic"
10 MY_P=${MY_PN}-${PV}
11 DESCRIPTION="The JDesktop Integration Components (JDIC) tray icon API"
12 HOMEPAGE="https://jdic.dev.java.net/"
13 SRC_URI="https://jdic.dev.java.net/files/documents/880/16466/${MY_P}-src.zip"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE="examples"
19
20 DEPEND=">=virtual/jdk-1.4
21 app-arch/unzip"
22 RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* )"
23
24 S="${WORKDIR}/${MY_P}-src/${MY_PN}"
25
26 #Patch takes care of it
27 JAVA_PKG_BSFIX="off"
28
29 src_unpack() {
30 unpack ${A}
31 cd "${S}"
32
33 epatch "${FILESDIR}/0.8.7-gentoo.patch"
34 epatch "${FILESDIR}/fix-ctray-libarch.patch"
35 find -type d -name CVS -exec rm -r {} \; >/dev/null 2>&1
36 }
37
38 src_compile() {
39 eant buildunixjar buildunixjni_tray $(use_doc docs)
40 }
41
42 src_install() {
43 cd "${S}/dist/linux"
44 java-pkg_dojar jdic.jar
45 java-pkg_doso libtray.so
46 use doc && java-pkg_dojavadoc "${S}/../docs"
47 use source && java-pkg_dosrc "${S}/src/share/classes/*" "${S}/src/unix/classes/*"
48 if use examples; then
49 dodir "/usr/share/doc/${PF}/examples"
50 cp -r "${S}/demo/Tray/*" "${D}/usr/share/doc/${PF}/examples/"
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20