mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
45 lines
733 B
Bash
45 lines
733 B
Bash
# 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
|
|
}
|