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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 18 19:46:37 2011 UTC (3 years ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Drop KDE 4.6.5

(Portage version: 2.1.10.41/cvs/Linux x86_64, RepoMan options: --force)

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

  ViewVC Help
Powered by ViewVC 1.1.20