dev-util/kaitai-struct-compiler-bin - 0.11 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-util/kaitai-struct-compiler-bin-0.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/kaitai-struct-compiler-bin-0.11

Or alternatively:

emerge --autounmask-write -a =dev-util/kaitai-struct-compiler-bin-0.11

Package Information

Description:
Compiler that generates binary format parsers from Kaitai Struct definitions
Homepage:
https://kaitai.io https://github.com/kaitai-io/kaitai_struct_compiler
License:
GPL-3+ Apache-2.0 MIT

Ebuild Details

Version EAPI Keywords Slot
0.11 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit java-utils-2

MY_PN="${PN%-bin}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Compiler that generates binary format parsers from Kaitai Struct definitions"
HOMEPAGE="https://kaitai.io https://github.com/kaitai-io/kaitai_struct_compiler"
SRC_URI="https://github.com/kaitai-io/kaitai_struct_compiler/releases/download/${PV}/${MY_P}.zip"
S="${WORKDIR}/${MY_P}"

# Compiler GPL-3+, bundled Scala library Apache-2.0, scopt MIT, fastparse/sourcecode/geny MIT,
# SnakeYAML Apache-2.0, format definitions under their individual licences.
LICENSE="GPL-3+ Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=virtual/jre-1.8:*"
BDEPEND="app-arch/unzip"

src_install() {
	java-pkg_dojar lib/*.jar
	java-pkg_dolauncher "${MY_PN}" --main io.kaitai.struct.JavaMain
	dosym "${MY_PN}" /usr/bin/ksc
	insinto "/usr/share/${MY_PN}"
	doins -r formats
}

Inherited Eclasses

Dependencies

RDEPEND

>=virtual/jre-1.8:*

BDEPEND

app-arch/unzip

Manifest for 0.11

Type File Size Source URLs
DIST kaitai-struct-compiler-0.11.zip 8629571 bytes https://github.com/kaitai-io/kaitai_struct_compiler/releases/download/0.11/kaitai-struct-compiler-0.11.zip