/[gentoo-x86]/kde-base/krossjava/krossjava-4.9.3.ebuild
Gentoo

Contents of /kde-base/krossjava/krossjava-4.9.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Nov 23 17:40:29 2012 UTC (5 years, 6 months ago) by ago
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable for amd64, wrt bug #442394

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 creffett 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.9.3.ebuild,v 1.1 2012/11/08 23:27:10 creffett Exp $
4 creffett 1.1
5     EAPI=4
6    
7     KMNAME="kross-interpreters"
8     KMMODULE="java"
9     inherit java-pkg-2 java-ant-2 kde4-meta multilib
10    
11     DESCRIPTION="Java plugin for the kdelibs/kross scripting framework."
12 ago 1.2 KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
13 creffett 1.1 IUSE="debug"
14    
15     DEPEND="
16     >=virtual/jdk-1.5
17     "
18     RDEPEND="
19     >=virtual/jre-1.5
20     "
21    
22     pkg_setup() {
23     kde4-meta_pkg_setup
24     java-pkg-2_pkg_setup
25     }
26    
27     src_prepare() {
28     find "${S}" -iname '*.jar' | xargs rm -v
29     kde4-meta_src_prepare
30     java-pkg-2_src_prepare
31     }
32    
33     src_configure() {
34     kde4-meta_src_configure
35     java-ant-2_src_configure
36     }
37    
38     src_compile() {
39     kde4-meta_src_compile
40     cd "${S}/java/${PN}/java/" || die
41     eant makejar
42     }
43    
44     src_install() {
45     kde4-meta_src_install
46     java-pkg_dojar "${ED}/usr/$(get_libdir)/kde4/kross/kross.jar"
47    
48     dosym ../../../share/${PN}-${SLOT}/lib/kross.jar \
49     /usr/$(get_libdir)/kde4/kross/kross.jar
50     java-pkg_regso "${ED}/usr/$(get_libdir)/kde4/krossjava.so"
51     }
52    
53     pkg_preinst() {
54     kde4-meta_pkg_preinst
55     java-pkg-2_pkg_preinst
56     }

  ViewVC Help
Powered by ViewVC 1.1.20