diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-04-23 01:40:55 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-04-23 01:40:55 +0000 |
commit | 09164775d2397d7984c7bceedb5eda312589c2ec (patch) | |
tree | 04c361c3451ba2415cf4a81dbea6fb520cbbe43e /dev-java/java-gnome/java-gnome-2.6.0.1.ebuild | |
parent | further ebuild cleanup. Configuration is included in the ebuild. (Manifest r... (diff) | |
download | gentoo-2-09164775d2397d7984c7bceedb5eda312589c2ec.tar.gz gentoo-2-09164775d2397d7984c7bceedb5eda312589c2ec.tar.bz2 gentoo-2-09164775d2397d7984c7bceedb5eda312589c2ec.zip |
Version bump. Closes #47769. It's damn hot in my dorm room.
Diffstat (limited to 'dev-java/java-gnome/java-gnome-2.6.0.1.ebuild')
-rw-r--r-- | dev-java/java-gnome/java-gnome-2.6.0.1.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/dev-java/java-gnome/java-gnome-2.6.0.1.ebuild b/dev-java/java-gnome/java-gnome-2.6.0.1.ebuild new file mode 100644 index 000000000000..62a8149b172a --- /dev/null +++ b/dev-java/java-gnome/java-gnome-2.6.0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Java bindings for GNOME and GTK libraries that allow GNOME and GTK applications to be written in Java" +SRC_URI="mirror://sourceforge/java-gnome/${P}.tar.bz2" +HOMEPAGE="http://java-gnome.sourceforge.net/" +DEPEND="virtual/glibc + >=gnome-base/libgnome-2.6.0 + >=gnome-base/libgnomeui-2.6.0 + >=gnome-base/libgnomecanvas-2.6.0 + >=gnome-extra/libgtkhtml-2.6.0 + >=gnome-base/libglade-2.0 + virtual/jdk + >=app-text/docbook-sgml-utils-0.6.12 + app-arch/zip" +SLOT="2.6" +LICENSE="LGPL-2.1" +KEYWORDS="~x86" +IUSE="" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --without-gcj-compile \ + --with-java-prefix=${JAVA_HOME} || die "./configure failed" + make || die +} + +src_install() { + make prefix=${D}/usr install || die + + dodir /usr/share/java-gnome/lib + mv ${D}/usr/share/java-gnome/*.jar ${D}/usr/share/java-gnome/lib/ + + cd ${D}/atk/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip * + cd ${D}/gdk/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip * + cd ${D}/gtk/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip * + cd ${D}/glib/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip * + cd ${D}/pango/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtk-${PV}.src.zip * + + cd ${D}/gnome/src/java + zip -r ${D}/usr/share/java-gnome/lib/gnome-${PV}.src.zip * + + cd ${D}/gtkhtml/src/java + zip -r ${D}/usr/share/java-gnome/lib/gtkhtml-${PV}.src.zip * + + cd ${D}/glade/src/java + zip -r ${D}/usr/share/java-gnome/lib/glade-${PV}.src.zip * + + cd ${D}/gconf/src/java + zip -r ${D}/usr/share/java-gnome/lib/gconf-${PV}.src.zip * + + cd ${D}/vte/src/java + zip -r ${D}/usr/share/java-gnome/lib/gnomevte-${PV}.src.zip * + + dosym /usr/share/java-gnome/lib/gnome${SLOT}-${PV}.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar + + dosym /usr/lib/libgnomejava${SLOT}.so.${PV} /usr/lib/libgnomejava${SLOT}.so + + echo "DESCRIPTION=${DESCRIPTION}" \ + > ${D}/usr/share/java-gnome/package.env + + 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" \ + >> ${D}/usr/share/java-gnome/package.env +} |