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

Diff of /kde-base/krossjava/krossjava-4.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/Attic/krossjava-4.6.2.ebuild,v 1.1 2011/04/06 14:19:27 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/Attic/krossjava-4.6.2.ebuild,v 1.2 2011/04/11 04:41:26 abcd Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7KMNAME="kdebindings" 7KMNAME="kdebindings"
8KMMODULE="java/krossjava" 8KMMODULE="java/krossjava"
21 21
22RESTRICT="test" 22RESTRICT="test"
23 23
24PATCHES=( "${FILESDIR}/${PN}-4.2.3_includes.patch" ) 24PATCHES=( "${FILESDIR}/${PN}-4.2.3_includes.patch" )
25 25
26pkg_setup() {
27 kde4-meta_pkg_setup
28 java-pkg-2_pkg_setup
29}
30
26src_prepare() { 31src_prepare() {
27 find "${S}" -iname '*.jar' | xargs rm -v 32 find "${S}" -iname '*.jar' | xargs rm -v
28 kde4-meta_src_prepare 33 kde4-meta_src_prepare
29 java-pkg-2_src_prepare 34 java-pkg-2_src_prepare
30} 35}
31 36
32src_configure() { 37src_configure() {
33 mycmakeargs=(-DENABLE_KROSSJAVA=ON) 38 mycmakeargs=(-DENABLE_KROSSJAVA=ON)
34 export JAVA_HOME=$(java-config -g JAVA_HOME)
35 kde4-meta_src_configure 39 kde4-meta_src_configure
36 java-ant-2_src_configure 40 java-ant-2_src_configure
37} 41}
38 42
39src_compile() { 43src_compile() {
55 59
56 dosym "${path_prefix}usr/share/${PN}-${SLOT}/lib/kross.jar" \ 60 dosym "${path_prefix}usr/share/${PN}-${SLOT}/lib/kross.jar" \
57 "${KDEDIR}/$(get_libdir)/kde4/kross/kross.jar" 61 "${KDEDIR}/$(get_libdir)/kde4/kross/kross.jar"
58 java-pkg_regso "${ED}/${KDEDIR}/$(get_libdir)/kde4/libkrossjava.so" 62 java-pkg_regso "${ED}/${KDEDIR}/$(get_libdir)/kde4/libkrossjava.so"
59} 63}
64
65pkg_preinst() {
66 kde4-meta_pkg_preinst
67 java-pkg-2_pkg_preinst
68}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20