summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2021-12-11 03:34:08 +0100
committerMaciej Barć <xgqt@gentoo.org>2021-12-11 03:57:03 +0100
commita9dbc34e357ab52b7730b5b1ed7a4eb3acc3da49 (patch)
tree52f4c9c4a98db7127a27fc2ad9000740dd045355 /dev-ml
parentdev-ml/ocaml-inifiles: new package; add version 1.2 (diff)
downloadgentoo-a9dbc34e357ab52b7730b5b1ed7a4eb3acc3da49.tar.gz
gentoo-a9dbc34e357ab52b7730b5b1ed7a4eb3acc3da49.tar.bz2
gentoo-a9dbc34e357ab52b7730b5b1ed7a4eb3acc3da49.zip
dev-ml/dune-site: new package; add version 2.9.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/dune-site/Manifest1
-rw-r--r--dev-ml/dune-site/dune-site-2.9.1.ebuild30
-rw-r--r--dev-ml/dune-site/metadata.xml13
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/dune-site/Manifest b/dev-ml/dune-site/Manifest
new file mode 100644
index 000000000000..ce6115570e04
--- /dev/null
+++ b/dev-ml/dune-site/Manifest
@@ -0,0 +1 @@
+DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d SHA512 4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
diff --git a/dev-ml/dune-site/dune-site-2.9.1.ebuild b/dev-ml/dune-site/dune-site-2.9.1.ebuild
new file mode 100644
index 000000000000..25ec385655d8
--- /dev/null
+++ b/dev-ml/dune-site/dune-site-2.9.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Embed locations informations inside executable and libraries"
+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="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+RDEPEND="
+ ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ dune build -p ${PN} @install || die
+}
diff --git a/dev-ml/dune-site/metadata.xml b/dev-ml/dune-site/metadata.xml
new file mode 100644
index 000000000000..3cf03b345ced
--- /dev/null
+++ b/dev-ml/dune-site/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <bugs-to>https://github.com/ocaml/dune/issues/</bugs-to>
+ <remote-id type="github">ocaml/dune</remote-id>
+ </upstream>
+</pkgmetadata>