diff options
Diffstat (limited to 'kde-base/qtjava/qtjava-3.4.0_beta2.ebuild')
-rw-r--r-- | kde-base/qtjava/qtjava-3.4.0_beta2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/kde-base/qtjava/qtjava-3.4.0_beta2.ebuild b/kde-base/qtjava/qtjava-3.4.0_beta2.ebuild new file mode 100644 index 000000000000..608d1e34020a --- /dev/null +++ b/kde-base/qtjava/qtjava-3.4.0_beta2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.4.0_beta2.ebuild,v 1.1 2005/02/05 11:39:28 danarmak Exp $ + +KMNAME=kdebindings +KM_MAKEFILESREV=1 +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta + +DESCRIPTION="Java bindings for QT" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/jdk" +PATCHES="$FILESDIR/no-gtk-glib-check.diff + $FILESDIR/docs-target-dir.diff" # in cvs; remove for 3.4.0beta2 + +src_compile() { + myconf="$myconf --with-java=`java-config --jdk-home`" + kde-meta_src_compile +} + +# Doesn't really need kde, only qt? But then, it installs by default into $KDEDIR/... + +# Someone who's into java should look over this... + +src_install() { + kde-meta_src_install + + mkdir -p $D/usr/share/qtjava + cat > $D/usr/share/qtjava/package.env << EOF +DESCRIPTION=Java bindings for QT +CLASSPATH=:$PREFIX/lib/java/qtjava.jar: +EOF +} |