commit:     6113cfad52b36a8735d6a18571cef8e68397b6de
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 20:41:34 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 20:41:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6113cfad

dev-ml/0install: new package, add 2.18

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/0install/0install-2.18.ebuild | 33 +++++++++++++++++++++++++++++++++
 dev-ml/0install/Manifest             |  1 +
 dev-ml/0install/metadata.xml         | 19 +++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-ml/0install/0install-2.18.ebuild 
b/dev-ml/0install/0install-2.18.ebuild
new file mode 100644
index 000000000000..b88424ef2d7c
--- /dev/null
+++ b/dev-ml/0install/0install-2.18.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Package dependency solver"
+HOMEPAGE="https://docs.0install.net/developers/solver/";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tbz";
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+ocamlopt"
+
+RDEPEND="
+       dev-ml/lwt:=[ocamlopt?]
+       dev-ml/ocurl:=[ocamlopt?]
+       dev-ml/yojson:=[ocamlopt?]
+       dev-ml/xmlm:=
+"
+
+RESTRICT="test"
+
+src_compile() {
+       dune-compile 0install-solver 0install
+}
+
+src_install() {
+       dune-install 0install-solver 0install
+}

diff --git a/dev-ml/0install/Manifest b/dev-ml/0install/Manifest
new file mode 100644
index 000000000000..65daafe4855a
--- /dev/null
+++ b/dev-ml/0install/Manifest
@@ -0,0 +1 @@
+DIST 0install-2.18.tbz 452385 BLAKE2B 
90b4ce4d508005fd3fc9303e4fbb86fe830568fccab2aa6cbbadd16b232b3b3d2446dcd830069e0d96011c500f2e484d7009fbeedf12b6f520e17042aa784605
 SHA512 
6d4734754951fad9caad5d876a1301e283bdd77a080d6601d57b21c540a30a616b18f664cbd4f86748c90de41cf3ef54f3a883fd75f638abbe3630a0320e4a7f

diff --git a/dev-ml/0install/metadata.xml b/dev-ml/0install/metadata.xml
new file mode 100644
index 000000000000..cb019eed3ab9
--- /dev/null
+++ b/dev-ml/0install/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>ML</name>
+       </maintainer>
+       <longdescription lang="en">
+               Zero Install is a decentralised cross-distribution software
+               installation system. Other features include full support for 
shared
+               libraries (with a SAT solver for dependency resolution),
+               sharing between users, and integration with native platform 
package
+               managers. It supports both binary and source packages, and 
works on
+               Linux, macOS, Unix and Windows systems.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">0install/0install</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to