/[gentoo-x86]/dev-java/java-gnome/java-gnome-2.6.0.1.ebuild
Gentoo

Contents of /dev-java/java-gnome/java-gnome-2.6.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Jun 29 15:11:51 2005 UTC (9 years, 5 months ago) by axxo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
remove older + keyword x86
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-2.6.0.1.ebuild,v 1.7 2005/02/17 17:33:53 luckyduck Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Java bindings for GNOME and GTK libraries that allow GNOME and GTK applications to be written in Java"
8 SRC_URI="mirror://sourceforge/java-gnome/${P}.tar.bz2"
9 HOMEPAGE="http://java-gnome.sourceforge.net/"
10 DEPEND="virtual/libc
11 >=gnome-base/libgnome-2.6.0
12 >=gnome-base/libgnomeui-2.6.0
13 >=gnome-base/libgnomecanvas-2.6.0
14 =gnome-extra/libgtkhtml-2.6*
15 >=gnome-base/libglade-2.0
16 virtual/jdk
17 >=app-text/docbook-sgml-utils-0.6.12
18 x11-libs/vte
19 app-arch/zip"
20 SLOT="2.6"
21 LICENSE="LGPL-2.1"
22 KEYWORDS="~x86"
23 IUSE=""
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S} && epatch ${FILESDIR}/gentoo-java-gnome-2.6.0.1.patch || die "epatch failed"
28 }
29
30 src_compile() {
31 ./configure \
32 --host=${CHOST} \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --without-gcj-compile \
37 --with-java-prefix=${JAVA_HOME} || die "./configure failed"
38 make || die
39 }
40
41 src_install() {
42 make prefix=${D}/usr install || die
43
44 dodir /usr/share/java-gnome/lib
45 mv ${D}/usr/share/java-gnome/*.jar ${D}/usr/share/java-gnome/lib/
46
47 cd ${S}/atk/src/java
48 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
49 cd ${S}/gdk/src/java
50 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
51 cd ${S}/gtk/src/java
52 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
53 cd ${S}/glib/src/java
54 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
55 cd ${S}/pango/src/java
56 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
57
58 cd ${S}/gnome/src/java
59 zip -r ${D}/usr/share/java-gnome/lib/gnome-${PV}.src.zip *
60
61 cd ${S}/gtkhtml/src/java
62 zip -r ${D}/usr/share/java-gnome/lib/gtkhtml-${PV}.src.zip *
63
64 cd ${S}/glade/src/java
65 zip -r ${D}/usr/share/java-gnome/lib/glade-${PV}.src.zip *
66
67 cd ${S}/gconf/src/java
68 zip -r ${D}/usr/share/java-gnome/lib/gconf-${PV}.src.zip *
69
70 cd ${S}/vte/src/java
71 zip -r ${D}/usr/share/java-gnome/lib/gnomevte-${PV}.src.zip *
72
73 dosym /usr/share/java-gnome/lib/gnome${SLOT}-${PV}.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar
74
75 dosym /usr/lib/libgnomejava${SLOT}.so.${PV} /usr/lib/libgnomejava${SLOT}.so
76
77 echo "DESCRIPTION=${DESCRIPTION}" \
78 > ${D}/usr/share/java-gnome/package.env
79
80 echo "CLASSPATH=/usr/share/java-gnome/lib/gtk${SLOT}.jar:/usr/share/java-gnome/lib/gnome${SLOT}.jar:/usr/share/java-gnome/lib/glade${SLOT}.jar:/usr/share/java-gnome/lib/gconf${SLOT}.jar:/usr/share/java-gnome/lib/gnomevte${SLOT}.jar:/usr/share/java-gnome/lib/gtkhtml${SLOT}.jar" \
81 >> ${D}/usr/share/java-gnome/package.env
82 }

  ViewVC Help
Powered by ViewVC 1.1.20