blob: 6a4c64932f36c087e591d7961780e6510aa42c30 (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Package dependency solver"
HOMEPAGE="https://docs.0install.net/developers/solver/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tbz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="+ocamlopt"
RDEPEND="
dev-ml/lwt:=[ocamlopt?]
dev-ml/ocaml-sha:=[ocamlopt?]
dev-ml/ocplib-endian:=[ocamlopt?]
dev-ml/ocurl:=[ocamlopt?]
dev-ml/react:=
dev-ml/stdlib-shims:=[ocamlopt?]
dev-ml/xmlm:=
dev-ml/yojson:=[ocamlopt?]
"
BDEPEND="dev-ml/findlib"
RESTRICT="test"
src_compile() {
dune-compile 0install-solver 0install
}
src_install() {
dune-install 0install-solver 0install
}
|