# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/dcopjava/dcopjava-3.3.1.ebuild,v 1.3 2004/11/12 14:04:31 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/dcopjava/dcopjava-3.3.1.ebuild,v 1.4 2004/11/13 10:46:27 mr_bones_ Exp $
# NOTE TODO install a jar file rather than a tree of class files, and use java-pkg.eclass,
# in keeping with policy
RDEPEND="virtual/jre"
PATCHES="$FILESDIR/no-gtk-glib-check.diff"
-
pkg_setup() {
- ewarn "This package is consdered broken by upstream. You're on your own."
+ ewarn "This package is consdered broken by upstream. You're on your own."
}
src_compile () {
- myconf="$myconf --with-java=`java-config --jdk-home`"
- kde-meta_src_compile
-}
\ No newline at end of file
+ myconf="$myconf --with-java=`java-config --jdk-home`"
+ kde-meta_src_compile
+}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/kdejava-3.3.1.ebuild,v 1.3 2004/11/12 12:51:40 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/kdejava-3.3.1.ebuild,v 1.4 2004/11/13 10:45:57 mr_bones_ Exp $
KMNAME=kdebindings
KMEXTRACTONLY=qtjava
# Someone who knows about java-in-gentoo should look at this and the
# other java kdebindings, and fix the stupid thing
src_unpack() {
- kde-meta_src_unpack
-
- # $PREFIX-dependant, so don't go into the makefile tarballs
- cd $S/kdejava/koala/org/kde/koala
- for x in Makefile.am Makefile.in; do
- mv $x $x.orig
- sed -e "s:_CLASSPATH_:$(java-config -p qtjava):" $x.orig > $x
- rm $x.orig
- done
+ kde-meta_src_unpack
+
+ # $PREFIX-dependant, so don't go into the makefile tarballs
+ cd $S/kdejava/koala/org/kde/koala
+ for x in Makefile.am Makefile.in; do
+ mv $x $x.orig
+ sed -e "s:_CLASSPATH_:$(java-config -p qtjava):" $x.orig > $x
+ rm $x.orig
+ done
}
src_compile() {
- myconf="$myconf --with-java=`java-config --jdk-home`"
- kde-meta_src_compile
+ myconf="$myconf --with-java=`java-config --jdk-home`"
+ kde-meta_src_compile
}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.3.1.ebuild,v 1.3 2004/11/12 13:57:46 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.3.1.ebuild,v 1.4 2004/11/13 10:45:07 mr_bones_ Exp $
KMNAME=kdebindings
inherit kde-meta
src_compile() {
- myconf="$myconf --with-java=`java-config --jdk-home`"
- kde-meta_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
+ kde-meta_src_install
- mkdir -p $D/usr/share/qtjava
- cat > $D/usr/share/qtjava/package.env << EOF
+ 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