diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-java/jacl | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-java/jacl')
| -rw-r--r-- | dev-java/jacl/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jacl/jacl-1.4.1-r2.ebuild | 52 | ||||
| -rw-r--r-- | dev-java/jacl/metadata.xml | 39 |
3 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/jacl/Manifest b/dev-java/jacl/Manifest new file mode 100644 index 000000000000..e08adc2b6d13 --- /dev/null +++ b/dev-java/jacl/Manifest @@ -0,0 +1 @@ +DIST jacl-1.4.1.tar.gz 1921630 BLAKE2B 1b5693aa79fc50b5ff7a1ef86608b640d0bf391ced72dbe5d30f30fb46b26174535aac9d0ec32e1528f16af9e54def344d2fe38602700f921d612761f706fcce SHA512 e4b906efbd3ef4ab9338e8bf2f50c3b820e25b9fbe61f194e90cc0fa128f68d64eb459f7b05171d4b86b4c9635ef483906a02952bdedcee89ccb92256b789247 diff --git a/dev-java/jacl/jacl-1.4.1-r2.ebuild b/dev-java/jacl/jacl-1.4.1-r2.ebuild new file mode 100644 index 000000000000..19942b013b42 --- /dev/null +++ b/dev-java/jacl/jacl-1.4.1-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jacl is an implementation of Tcl written in Java" +HOMEPAGE="http://tcljava.sourceforge.net" +SRC_URI="https://downloads.sourceforge.net/project/tcljava/jacl/${PV}/jacl${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" +IUSE="doc" + +CDEPEND=">=dev-lang/tcl-8.4.5:*" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CRDEPEND} + >=virtual/jdk-1.8:*" + +S="${WORKDIR}/${PN}${PV}" + +JAVA_SRC_DIR="src" + +src_prepare() { + default + java-pkg_clean +} + +src_configure() { + : +} + +src_compile() { + rm -rf src/{Test.java,empty,tests,janino} || die + java-pkg-simple_src_compile + mv src/jacl/tcl src/ || die + java-pkg_addres "${PN}.jar" src/ -name "*.tcl" +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher jaclsh --main tcl.lang.Shell + dodoc README ChangeLog known_issues.txt +} diff --git a/dev-java/jacl/metadata.xml b/dev-java/jacl/metadata.xml new file mode 100644 index 000000000000..e94d860132d5 --- /dev/null +++ b/dev-java/jacl/metadata.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + The Tcl/Java project's goal is to make integrating the Java platform and the + Tcl scripting language as easy as possible. The project actually consists of + two distinct packages, called Tcl Blend and Jacl. It is important to + understand what each package provides and in what situations one might choose + to use Jacl or Tcl Blend. + + Tcl Blend is a Tcl extension that makes use of JNI to facilitate communication + between a Java interpreter and a Tcl interpreter. Tcl Blend is typically used + to load a Java interpreter into an existing Tcl process, so that functionality + implemented in Java can be accessed via Tcl. One can also load Tcl Blend and + Tcl into a Java process, which is a great way to add scripting functionality + to an existing Java application. Because Tcl Blend is a normal Tcl extension, + one can use it with other popular Tcl extensions like Tk, Expect, and Itcl. + + Jacl is a self-contained implementation of a Tcl interpreter, written entirely + in Java. Jacl also includes features that facilitate communication between a + Java interpreter and a Tcl interpreter. Jacl is typically used to incorporate + scripting functionality into an existing Java application. For users who want + to avoid adding any native code to their Java applications, Jacl is the ideal + solution. + + Tcl Blend and Jacl define both a Tcl API and a Java API that make it easy to + call Java code from Tcl or call Tcl code from Java. For example, one could + allocate a Java object in a Tcl script and interactively invoke Java methods + on the object. It is also easy to use the supplied API to evaluate a Tcl + procedure from a Java method or implement Tcl procudures in Java. The flexible + API and wealth of implementation options provided by the Tcl/Java project make + integrating Tcl and Java easy. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
