diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-11-19 23:35:04 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-11-19 23:35:23 +0100 |
commit | 5eeb089978ac9c66ac7f026c9c39d581772e4ce3 (patch) | |
tree | 03bbbfb39d420da3ee5d41d52c5e13b60145a93b /dev-ml | |
parent | dev-ml/ordering: new package, add 3.0.3 (diff) | |
download | gentoo-5eeb089978ac9c66ac7f026c9c39d581772e4ce3.tar.gz gentoo-5eeb089978ac9c66ac7f026c9c39d581772e4ce3.tar.bz2 gentoo-5eeb089978ac9c66ac7f026c9c39d581772e4ce3.zip |
dev-ml/dyn: new package, add 3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/dyn/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/dyn/dyn-3.0.3.ebuild | 32 | ||||
-rw-r--r-- | dev-ml/dyn/metadata.xml | 11 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/dyn/Manifest b/dev-ml/dyn/Manifest new file mode 100644 index 000000000000..773da28d4eed --- /dev/null +++ b/dev-ml/dyn/Manifest @@ -0,0 +1 @@ +DIST dune-3.0.3.tar.gz 1725788 BLAKE2B 2de93c085f642c8381642a08b18bc21ad48097f32397b3eddab9725deb267b089849b649705e1b72bb1b5b37f7531fd9e0cfb134174f0cb3a8ee2595c7dcf8ce SHA512 839e942bcf8189763d0d9b01614333bb2f036bce68c82959e51d2e9145b57067cb862b66781912391c1a0f531b8dddf2ffeafcee71c626169a437fe40feba155 diff --git a/dev-ml/dyn/dyn-3.0.3.ebuild b/dev-ml/dyn/dyn-3.0.3.ebuild new file mode 100644 index 000000000000..ba609c7fd471 --- /dev/null +++ b/dev-ml/dyn/dyn-3.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Dynamic type" +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/ordering:=" +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 +} diff --git a/dev-ml/dyn/metadata.xml b/dev-ml/dyn/metadata.xml new file mode 100644 index 000000000000..86dc156e664c --- /dev/null +++ b/dev-ml/dyn/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> |