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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Jul 19 18:28:57 2005 UTC (9 years, 11 months ago) by axxo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
old
(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-0.8.3.ebuild,v 1.10 2005/06/29 15:11:51 axxo 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/libgnomeui-2.0
12 >=gnome-base/libgnome-2.0
13 >=gnome-base/libgnomecanvas-2.0
14 >=gnome-base/libglade-2.0
15 =gnome-extra/libgtkhtml-2*
16 virtual/jdk
17 >=app-text/docbook-sgml-utils-0.6.12
18 x11-libs/vte"
19
20 SLOT="0.8"
21 LICENSE="LGPL-2.1"
22 KEYWORDS="~sparc x86"
23 IUSE=""
24
25 src_compile() {
26 epatch ${FILESDIR}/java-gnome-${PV}-gentoo.diff
27
28 ./configure \
29 --host=${CHOST} \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --without-gcj-compile \
34 --with-java-prefix=${JAVA_HOME} || die "./configure failed"
35 make || die
36 }
37
38 src_install() {
39 make prefix=${D}/usr install || die
40
41 dodir /usr/share/java-gnome/lib
42 mv ${D}/usr/share/java-gnome/*.jar ${D}/usr/share/java-gnome/lib/
43
44 dosym /usr/share/java-gnome/lib/gnome${SLOT}-${PV}.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar
45
46 dosym /usr/lib/libgnomejava${SLOT}.so.${PV} /usr/lib/libgnomejava${SLOT}.so
47
48 echo "DESCRIPTION=${DESCRIPTION}" \
49 > ${D}/usr/share/java-gnome/package.env
50
51 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" \
52 >> ${D}/usr/share/java-gnome/package.env
53 }

  ViewVC Help
Powered by ViewVC 1.1.20