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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 # Copyright 1999-2007 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-r2.ebuild,v 1.5 2007/10/24 05:04:38 wltjr 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"
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 find -type d -name CVS -exec rm -r {} \; >/dev/null 2>&1
35 }
36
37 src_compile() {
38 eant buildunixjar buildunixjni_tray $(use_doc docs)
39 }
40
41 src_install() {
42 cd "${S}"/dist/linux
43 java-pkg_dojar jdic.jar
44 java-pkg_doso libtray.so
45 use doc && java-pkg_dojavadoc "${S}"/../docs
46 use source && java-pkg_dosrc "${S}"/src/share/classes/* "${S}"/src/unix/classes/*
47 if use examples; then
48 dodir /usr/share/doc/${PF}/examples
49 cp -r "${S}"/demo/Tray/* "${D}"/usr/share/doc/${PF}/examples/
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20