blob: e49797cd148b444a2feff6b99c43b3d2ee146119 (
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
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="OCaml constraint programming library on integer & integer set finite domains"
HOMEPAGE="http://opti.recherche.enac.fr/"
SRC_URI="https://github.com/Emmanuel-PLF/${PN}/releases/download/${PV}/${P}.tbz"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
IUSE="+ocamlopt"
PATCHES=( "${FILESDIR}"/${P}-dune.patch )
src_prepare() {
default
sed -i \
-e "s:Pervasives:Stdlib:g" \
lib/fcl_misc.ml \
lib/fcl_cstr.ml \
lib/fcl_fdArray.ml \
lib/fcl_nonlinear.ml \
lib/fcl_sorting.ml \
|| die
}
|