dev-ml/ocaml-tar - 3.5.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ml/ocaml-tar-3.5.0

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

autounmask =dev-ml/ocaml-tar-3.5.0

Or alternatively:

emerge --autounmask-write -a =dev-ml/ocaml-tar-3.5.0

Package Information

Description:
Decode and encode tar format files in pure OCaml
Homepage:
https://github.com/mirage/ocaml-tar
License:
ISC

Ebuild Details

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

EAPI=8

DUNE_PKG_NAME="tar"
inherit dune

DESCRIPTION="Decode and encode tar format files in pure OCaml"
HOMEPAGE="https://github.com/mirage/ocaml-tar"
SRC_URI="https://github.com/mirage/ocaml-tar/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ocamlopt"

RDEPEND="
	dev-ml/decompress:=[ocamlopt?]
	dev-ml/fpath
	dev-ml/logs:=[ocamlopt?]
	>=dev-ml/lwt-5.7.0:=[ocamlopt?]
"
DEPEND="${RDEPEND}"

DUNE_PACKAGES=(
	tar
	tar-unix
)

src_compile() {
	dune-compile ${DUNE_PACKAGES[@]}
}

src_test() {
	dune-test ${DUNE_PACKAGES[@]}
}

src_install() {
	dune-install ${DUNE_PACKAGES[@]}

	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/ocaml-tar | euse -E <flag> -p dev-ml/ocaml-tar | euse -D <flag> -p dev-ml/ocaml-tar

Global/Standard Flags

ocamlopt
❓ Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	dev-ml/decompress:=[ocamlopt?]
	dev-ml/fpath
	dev-ml/logs:=[ocamlopt?]
	>=dev-ml/lwt-5.7.0:=[ocamlopt?]

RDEPEND

	dev-ml/decompress:=[ocamlopt?]
	dev-ml/fpath
	dev-ml/logs:=[ocamlopt?]
	>=dev-ml/lwt-5.7.0:=[ocamlopt?]

Manifest for 3.5.0

Type File Size Source URLs
DIST ocaml-tar-3.5.0.gh.tar.gz 50997 bytes https://github.com/mirage/ocaml-tar/archive/v3.5.0.tar.gz