dev-ml/ocaml-augeas - 0.6-r2 (gentoo)

Search

Package Information

Description:
Ocaml bindings for Augeas
Homepage:
https://augeas.net/
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
0.6-r2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dot-a findlib

DESCRIPTION="Ocaml bindings for Augeas"
HOMEPAGE="https://augeas.net/"
#SRC_URI="https://augeas.net/download/ocaml/${P}.tar.gz"
SRC_URI="https://people.redhat.com/~rjones/augeas/files/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	app-admin/augeas
"
RDEPEND="${DEPEND}"
BDEPEND="
	dev-ml/findlib
	dev-ml/ocaml-autoconf
	dev-lang/ocaml[ocamlopt]
"

PATCHES=(
	"${FILESDIR}"/${P}-flags.patch
	"${FILESDIR}"/${P}-ocaml-4.09.patch
)

src_configure() {
	lto-guarantee-fat
	default
}

src_compile() {
	emake -j1
}

src_install() {
	findlib_src_install
	strip-lto-bytecode
}

Dependencies

DEPEND

	app-admin/augeas

RDEPEND

	app-admin/augeas

BDEPEND

	dev-ml/findlib
	dev-ml/ocaml-autoconf
	dev-lang/ocaml[ocamlopt]