diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-11-10 08:34:47 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-11-10 08:35:24 +0100 |
commit | cbcc1097887913e754c52b536b42d23382837d2d (patch) | |
tree | 6548bcfaf9bea828da5904401a82940588dcbf0e /dev-ml/stdcompat | |
parent | net-vpn/tor: drop 0.4.6.10 (EOL) (diff) | |
download | gentoo-cbcc1097887913e754c52b536b42d23382837d2d.tar.gz gentoo-cbcc1097887913e754c52b536b42d23382837d2d.tar.bz2 gentoo-cbcc1097887913e754c52b536b42d23382837d2d.zip |
dev-ml/stdcompat: new package, add 19
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/stdcompat')
-rw-r--r-- | dev-ml/stdcompat/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/stdcompat/metadata.xml | 16 | ||||
-rw-r--r-- | dev-ml/stdcompat/stdcompat-19.ebuild | 24 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ml/stdcompat/Manifest b/dev-ml/stdcompat/Manifest new file mode 100644 index 000000000000..bd3fa2e01ed9 --- /dev/null +++ b/dev-ml/stdcompat/Manifest @@ -0,0 +1 @@ +DIST stdcompat-19.tar.gz 530511 BLAKE2B 4af97c355b98f63366d647a4a375bde43ffbf959a2c02132ab57457db4213b8f98a972bf99667dd53603b28235b4f853470c2117270ce42c6aa579a21dd148fb SHA512 25582731170f2f80eed281c48af4904d1d00ef88a38d1b17853395c19a326d7b11e42c17b69f639402c467ff6f9b83a2e9d4dbab7255ac25d466b85a55674bd0 diff --git a/dev-ml/stdcompat/metadata.xml b/dev-ml/stdcompat/metadata.xml new file mode 100644 index 000000000000..ef295f228ea6 --- /dev/null +++ b/dev-ml/stdcompat/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription lang="en"> + Compatibility module for OCaml standard library allowing programs + to use some recent additions to the OCaml standard library while + preserving the ability to be compiled on former versions of OCaml. + </longdescription> + <upstream> + <remote-id type="github">thierry-martinez/stdcompat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/stdcompat/stdcompat-19.ebuild b/dev-ml/stdcompat/stdcompat-19.ebuild new file mode 100644 index 000000000000..c89f04625894 --- /dev/null +++ b/dev-ml/stdcompat/stdcompat-19.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Compatibility module for OCaml standard library" +HOMEPAGE="https://github.com/thierry-martinez/stdcompat" +SRC_URI="https://github.com/thierry-martinez/stdcompat/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-lang/ocaml:=[ocamlopt] + dev-ml/result:=[ocamlopt] + dev-ml/uchar:=[ocamlopt]" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-ml/dune + dev-ml/findlib[ocamlopt]" + +src_configure () { + econf --libdir="${EPREFIX}"/usr/$(get_libdir)/ocaml +} |