diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-08-06 10:23:35 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-08-06 10:24:09 +0200 |
commit | d6bda120bdd93d9ff136bd8fb3e90349124dc371 (patch) | |
tree | 9aafeb0d6682d984b8887784ab799b9a30fc7389 /dev-ml/batteries/batteries-3.6.1.ebuild | |
parent | www-client/firefox-bin: drop 116.0 (diff) | |
download | gentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.tar.gz gentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.tar.bz2 gentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.zip |
dev-ml/batteries: add 3.6.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/batteries/batteries-3.6.1.ebuild')
-rw-r--r-- | dev-ml/batteries/batteries-3.6.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ml/batteries/batteries-3.6.1.ebuild b/dev-ml/batteries/batteries-3.6.1.ebuild new file mode 100644 index 000000000000..620523f69008 --- /dev/null +++ b/dev-ml/batteries/batteries-3.6.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +DESCRIPTION="A community-maintained standard library extension" +HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/" +SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/batteries-included-${PV} + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-ml/camlp-streams:= + dev-ml/num:= +" +DEPEND="${RDEPEND}" +BDEPEND="dev-ml/ocamlbuild" + +src_compile() { + emake BATTERIES_NATIVE=$(usex ocamlopt yes no) +} + +src_install() { + findlib_src_install BATTERIES_NATIVE=$(usex ocamlopt yes no) +} |