summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild')
-rw-r--r--dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild b/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild
new file mode 100644
index 000000000000..24df854eb770
--- /dev/null
+++ b/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild,v 1.1 2009/03/07 17:21:12 neurogeek Exp $
+
+EAPI="2"
+
+inherit distutils
+
+DESCRIPTION="Collection of Gentoo-specific tools for Java"
+HOMEPAGE="http://www.gentoo.org/proj/en/java/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="dev-python/pyxml
+ || ( >=dev-lang/python-2.5[xml] dev-python/celementtree )"
+
+PYTHON_MODNAME="javatoolkit"
+
+src_prepare(){
+ epatch "${FILESDIR}/${P}-python2.6.patch"
+}
+
+src_install() {
+ distutils_src_install --install-scripts="/usr/$(get_libdir)/${PN}/bin"
+}
+
+pkg_postrm() {
+ distutils_python_version
+ distutils_pkg_postrm
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+}