diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-02-15 01:57:51 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-02-15 01:57:51 +0000 |
commit | 6955e95baa600e182b9b696e4871bb5c1f995904 (patch) | |
tree | e95372c2e91217870238dd1ef828c6024bf3a3d2 /dev-util/j/j-0.20.2.ebuild | |
parent | need $D (diff) | |
download | gentoo-2-6955e95baa600e182b9b696e4871bb5c1f995904.tar.gz gentoo-2-6955e95baa600e182b9b696e4871bb5c1f995904.tar.bz2 gentoo-2-6955e95baa600e182b9b696e4871bb5c1f995904.zip |
Initial Import.
Diffstat (limited to 'dev-util/j/j-0.20.2.ebuild')
-rw-r--r-- | dev-util/j/j-0.20.2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/j/j-0.20.2.ebuild b/dev-util/j/j-0.20.2.ebuild new file mode 100644 index 000000000000..183f4e766c08 --- /dev/null +++ b/dev-util/j/j-0.20.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/j/j-0.20.2.ebuild,v 1.1 2004/02/15 01:57:51 zx Exp $ + +IUSE="" +SRC_URI="mirror://sourceforge/armedbear-${PN}/${P}.tar.gz" + +DESCRIPTION="Programmer's text editor written in Java, includes Armed Bear Lisp." +HOMEPAGE="http://armedbear-j.sourceforge.net/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=virtual/jdk-1.4" + +S=${WORKDIR}/${P} + +src_compile() { + if [ -n "$(java-config --jdk-home)" ]; then + econf \ + --with-jdk="$(java-config --jdk-home)" \ + $(if [ -f "/usr/share/xerces/lib/xercesImpl.jar" ]; then echo "--with-extensions=/usr/share/xerces/lib/xercesImpl.jar"; fi) \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + || die "./configure failed" + else + eerror "You must have a system default JDK to compile this package !!!" + einfo "Use 'java-config --list-available-vms' to find the name of your installed JDK." + einfo "Then use 'java-config --set-system-vm=<JDK name>' to make it the system default." + die "./configure failed: No JDK" + fi + emake || die +} + +src_install() { + einstall || die +} |