Install this version:
emerge -a =app-emacs/tuareg-mode-3.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-emacs/tuareg-mode-3.1.0
Or alternatively:
emerge --autounmask-write -a =app-emacs/tuareg-mode-3.1.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit elisp
DESCRIPTION="An Objective Caml/Camllight mode for Emacs"
HOMEPAGE="http://forge.ocamlcore.org/projects/tuareg/
https://github.com/ocaml/tuareg/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ocaml/tuareg"
else
SRC_URI="https://github.com/ocaml/tuareg/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
S="${WORKDIR}/tuareg-${PV}"
KEYWORDS="~amd64 ~ppc ~x86"
fi
LICENSE="GPL-2+ GPL-3+ ISC"
SLOT="0"
ELISP_REMOVE="
Makefile
dot-emacs.el
tuareg-tests.el
"
SITEFILE="50${PN}-gentoo.el"
DOCS=( README.md CHANGES.md HISTORY )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tuareg-mode-3.1.0.gh.tar.gz | 107166 bytes | https://github.com/ocaml/tuareg/archive/refs/tags/3.1.0.tar.gz |