mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit dune
|
|
|
|
DESCRIPTION="Citrix's (deprecated) extensions to the ocaml standard library"
|
|
HOMEPAGE="
|
|
https://xapi-project.github.io/stdext/
|
|
https://github.com/xapi-project/stdext
|
|
"
|
|
SRC_URI="https://github.com/xapi-project/stdext/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
S="${WORKDIR}/stdext-${PV}"
|
|
|
|
LICENSE="LGPL-2.1-with-linking-exception"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64"
|
|
IUSE="ocamlopt test"
|
|
|
|
RDEPEND="
|
|
dev-ml/astring:=
|
|
>=dev-ml/fd-send-recv-2.0.0:=
|
|
dev-ml/logs:=
|
|
dev-ml/ptime:=
|
|
dev-ml/xapi-backtrace:=
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
test? ( dev-ml/alcotest )
|
|
"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
src_install() {
|
|
dune_src_install xapi-stdext-date
|
|
dune_src_install xapi-stdext-encodings
|
|
dune_src_install xapi-stdext-pervasives
|
|
dune_src_install xapi-stdext-std
|
|
dune_src_install xapi-stdext-threads
|
|
dune_src_install xapi-stdext-unix
|
|
dune_src_install xapi-stdext-zerocheck
|
|
dune_src_install xapi-stdext
|
|
}
|