summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-06-10 00:49:42 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-06-10 00:50:37 +0200
commit4a26c664a114f9a4ac158b15c83425e732f1ce2f (patch)
tree03a231f7014413bd7a9b4ca2f42cc6ec5797967b /dev-lisp
parentnet-misc/openssh: Revision bump to 7.5_p1-r2 to bump X509 patch to version 10.2 (diff)
downloadgentoo-4a26c664a114f9a4ac158b15c83425e732f1ce2f.tar.gz
gentoo-4a26c664a114f9a4ac158b15c83425e732f1ce2f.tar.bz2
gentoo-4a26c664a114f9a4ac158b15c83425e732f1ce2f.zip
dev-lisp/abcl: do away with jad USE flag.
This commit also improves abcl ebuild and bumps it to EAPI version 6. Gentoo-Bug: https://bugs.gentoo.org/621260 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/abcl/abcl-0.20.0-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-lisp/abcl/abcl-0.20.0-r1.ebuild b/dev-lisp/abcl/abcl-0.20.0-r1.ebuild
new file mode 100644
index 000000000000..b8b725f655fd
--- /dev/null
+++ b/dev-lisp/abcl/abcl-0.20.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc"
+
+MY_P="${PN}-src-${PV}"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Common Lisp implementation for the JVM"
+HOMEPAGE="http://common-lisp.net/project/armedbear/"
+SRC_URI="http://common-lisp.net/project/armedbear/releases/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVADOC_FILES="java-${PN}"
+JAVADOC_DIR="javadoc-${PN}"
+
+src_compile() {
+ eant abcl.compile
+ eant abcl.jar
+ if use doc; then
+ find "${S}/src" -type f -name \*.java > "${JAVADOC_FILES}" || die
+ mkdir -p "${JAVADOC_DIR}" || die
+ ejavadoc \
+ -d "${JAVADOC_DIR}" \
+ -docencoding UTF-8 \
+ -charset UTF-8 \
+ -quiet \
+ $(<"${JAVADOC_FILES}") || die
+ fi
+}
+
+src_install() {
+ java-pkg_dojar dist/abcl.jar
+ java-pkg_dolauncher ${PN} --java_args "-server -Xrs" --main org.armedbear.lisp.Main
+ use doc && java-pkg_dojavadoc "${JAVADOC_DIR}"
+ einstalldocs
+}