opam.eclass

Name

opam.eclass -- Provides functions for installing opam packages.

Description

Provides dependencies on opam and ocaml, opam-install and a default src_install for opam-based packages.

Supported EAPIs

7 8

Exported Phases

  • src_install

Functions

opam-install <list of packages>

Installs the opam packages given as arguments. For each "${pkg}" element in that list, "${pkg}.install" must be readable from current working directory.

Variables

OPAM_INSTALLER_DEP ?= "dev-ml/opam-installer" (SET BEFORE INHERIT)

Override dependency for OPAM_INSTALLER

OPAM_INSTALLER ?= opam-installer

Eclass can use different opam-installer binary than the one provided in by system.

Authors

Alexis Ballier <aballier@gentoo.org>

Maintainers

Mark Wright <gienah@gentoo.org>

ML <ml@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/