blob: 65f06ffd8d487b051a04fadecca30c78ed9a26c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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
}
|