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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Jun 29 15:11:51 2005 UTC (9 years ago) by axxo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +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-r1.ebuild,v 1.5 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.3.6
16 >=gnome-base/gconf-2.6.0
17 virtual/jdk
18 app-text/docbook-sgml
19 >=app-text/docbook-sgml-utils-0.6.12
20 x11-libs/vte
21 app-arch/zip"
22 SLOT="2.6"
23 LICENSE="LGPL-2.1"
24 KEYWORDS="~x86 ~ppc"
25 IUSE=""
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S} && epatch ${FILESDIR}/gentoo-java-gnome-2.6.0.1.patch || die "epatch failed"
30 }
31
32 src_compile() {
33 ./configure \
34 --host=${CHOST} \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 --without-gcj-compile \
39 --with-java-prefix=${JAVA_HOME} || die "./configure failed"
40 make || die
41 }
42
43 src_install() {
44 make prefix=${D}/usr install || die
45
46 dodir /usr/share/java-gnome/lib
47 mv ${D}/usr/share/java-gnome/*.jar ${D}/usr/share/java-gnome/lib/
48
49 cd ${S}/atk/src/java
50 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
51 cd ${S}/gdk/src/java
52 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
53 cd ${S}/gtk/src/java
54 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
55 cd ${S}/glib/src/java
56 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
57 cd ${S}/pango/src/java
58 zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip *
59
60 cd ${S}/gnome/src/java
61 zip -r ${D}/usr/share/java-gnome/lib/gnome-${PV}.src.zip *
62
63 cd ${S}/gtkhtml/src/java
64 zip -r ${D}/usr/share/java-gnome/lib/gtkhtml-${PV}.src.zip *
65
66 cd ${S}/glade/src/java
67 zip -r ${D}/usr/share/java-gnome/lib/glade-${PV}.src.zip *
68
69 cd ${S}/gconf/src/java
70 zip -r ${D}/usr/share/java-gnome/lib/gconf-${PV}.src.zip *
71
72 cd ${S}/vte/src/java
73 zip -r ${D}/usr/share/java-gnome/lib/gnomevte-${PV}.src.zip *
74
75 dosym /usr/share/java-gnome/lib/gnome${SLOT}-${PV%.*}.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar
76
77 dosym /usr/lib/libgnomejava${SLOT}.so.${PV%.*} /usr/lib/libgnomejava${SLOT}.so
78
79 echo "DESCRIPTION=${DESCRIPTION}" \
80 > ${D}/usr/share/java-gnome/package.env
81
82 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" \
83 >> ${D}/usr/share/java-gnome/package.env
84 }

  ViewVC Help
Powered by ViewVC 1.1.20