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
# 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
}
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
dev-ml/decompress:=[ocamlopt?] dev-ml/fpath dev-ml/logs:=[ocamlopt?] >=dev-ml/lwt-5.7.0:=[ocamlopt?]
dev-ml/decompress:=[ocamlopt?] dev-ml/fpath dev-ml/logs:=[ocamlopt?] >=dev-ml/lwt-5.7.0:=[ocamlopt?]
| 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 |