gentoo-ebuilds/dev-ml/ocaml-augeas/ocaml-augeas-0.6-r1.ebuild
Alfred Wingate b9125cee64
dev-ml/ocaml-augeas: add dev-libs/libxml2 subslot op for incoming ABI break
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41919
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-05 09:13:17 +01:00

39 lines
676 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit findlib
DESCRIPTION="Ocaml bindings for Augeas"
HOMEPAGE="http://augeas.net/"
#SRC_URI="http://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
dev-libs/libxml2:=
"
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_compile() {
emake -j1
}
src_install() {
findlib_src_install
}