Files
gentoo/dev-ml/libvirt-ocaml/libvirt-ocaml-0.6.1.7.ebuild
Sam James 538d47234e dev-ml/libvirt-ocaml: fix whitespace
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-29 06:08:47 +01:00

34 lines
684 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dot-a
DESCRIPTION="OCaml language binding for libvirt native C API"
HOMEPAGE="https://ocaml.libvirt.org/"
SRC_URI="https://download.libvirt.org/ocaml/ocaml-libvirt-${PV}.tar.gz"
S="${WORKDIR}/ocaml-libvirt-${PV}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="app-emulation/libvirt
dev-lang/ocaml:=[ocamlopt]"
BDEPEND="dev-lang/perl
dev-ml/findlib[ocamlopt]
virtual/pkgconfig"
src_configure() {
lto-guarantee-fat
default
}
src_install() {
# ocaml always installs a static lib even without USE=static-libs
strip-lto-bytecode "${ED}"
default
}