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 <[email protected]>

Maintainers

Mark Wright <[email protected]>

ML <[email protected]>

Reporting Bugs

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