diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-11-19 23:38:41 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-11-19 23:38:41 +0100 |
commit | 8f49ca8151da1eec13aa64176b51c6735f467428 (patch) | |
tree | 819f28b5367628f9088dc6916a005221e66c3bcb /dev-ml/stdune | |
parent | dev-ml/dyn: new package, add 3.0.3 (diff) | |
download | gentoo-8f49ca8151da1eec13aa64176b51c6735f467428.tar.gz gentoo-8f49ca8151da1eec13aa64176b51c6735f467428.tar.bz2 gentoo-8f49ca8151da1eec13aa64176b51c6735f467428.zip |
dev-ml/stdune: new package, add 3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/stdune')
-rw-r--r-- | dev-ml/stdune/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/stdune/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ml/stdune/stdune-3.0.3.ebuild | 35 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ml/stdune/Manifest b/dev-ml/stdune/Manifest new file mode 100644 index 000000000000..773da28d4eed --- /dev/null +++ b/dev-ml/stdune/Manifest @@ -0,0 +1 @@ +DIST dune-3.0.3.tar.gz 1725788 BLAKE2B 2de93c085f642c8381642a08b18bc21ad48097f32397b3eddab9725deb267b089849b649705e1b72bb1b5b37f7531fd9e0cfb134174f0cb3a8ee2595c7dcf8ce SHA512 839e942bcf8189763d0d9b01614333bb2f036bce68c82959e51d2e9145b57067cb862b66781912391c1a0f531b8dddf2ffeafcee71c626169a437fe40feba155 diff --git a/dev-ml/stdune/metadata.xml b/dev-ml/stdune/metadata.xml new file mode 100644 index 000000000000..86dc156e664c --- /dev/null +++ b/dev-ml/stdune/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> + <upstream> + <remote-id type="github">ocaml/dune</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/stdune/stdune-3.0.3.ebuild b/dev-ml/stdune/stdune-3.0.3.ebuild new file mode 100644 index 000000000000..9a437d49b807 --- /dev/null +++ b/dev-ml/stdune/stdune-3.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Dune's unstable standard library" +HOMEPAGE="https://github.com/ocaml/dune" +SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" +S="${WORKDIR}/dune-${PV}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" + +BDEPEND="~dev-ml/dune-${PV}" +DEPEND=" + dev-ml/pp:=[ocamlopt?] + dev-ml/dyn:=[ocamlopt?] +" +RDEPEND="${DEPEND}" + +src_configure() { + ./configure \ + --libdir="$(ocamlc -where)" \ + --mandir="/usr/share/man" \ + || die +} + +src_compile() { + dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die +} |