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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 7 23:07:57 2011 UTC (2 years, 9 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop KDE 4.7.2

(Portage version: 2.1.10.39/cvs/Linux x86_64)

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.7.2.ebuild,v 1.1 2011/10/06 18:10:52 alexxy Exp $
4
5 EAPI=4
6
7 KMNAME="kross-interpreters"
8 KMMODULE="java"
9 KDE_SCM="git"
10 inherit java-pkg-2 java-ant-2 kde4-meta eutils
11
12 DESCRIPTION="Java plugin for the kdelibs/kross scripting framework."
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="debug"
15
16 DEPEND="
17 >=virtual/jdk-1.5
18 "
19 RDEPEND="
20 >=virtual/jre-1.5
21 "
22
23 RESTRICT="test"
24
25 pkg_setup() {
26 kde4-meta_pkg_setup
27 java-pkg-2_pkg_setup
28 }
29
30 src_prepare() {
31 find "${S}" -iname '*.jar' | xargs rm -v
32 kde4-meta_src_prepare
33 java-pkg-2_src_prepare
34 }
35
36 src_configure() {
37 kde4-meta_src_configure
38 java-ant-2_src_configure
39 }
40
41 src_compile() {
42 kde4-meta_src_compile
43 cd "${S}/java/${PN}/java/" || die
44 eant makejar
45 }
46
47 src_install() {
48 kde4-meta_src_install
49 java-pkg_dojar "${ED}/usr/$(get_libdir)/kde4/kross/kross.jar"
50
51 dosym ../../../share/${PN}-${SLOT}/lib/kross.jar \
52 /usr/$(get_libdir)/kde4/kross/kross.jar
53 java-pkg_regso "${ED}/usr/$(get_libdir)/kde4/krossjava.so"
54 }
55
56 pkg_preinst() {
57 kde4-meta_pkg_preinst
58 java-pkg-2_pkg_preinst
59 }

  ViewVC Help
Powered by ViewVC 1.1.20