public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-ml/systemd/
@ 2022-04-15 20:58 Haelwenn Monnier
  0 siblings, 0 replies; only message in thread
From: Haelwenn Monnier @ 2022-04-15 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     892262d061f1309b47ecb27f770625958df354df
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr  9 14:07:15 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr 15 20:34:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=892262d0

dev-ml/systemd: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/systemd/Manifest           |  1 +
 dev-ml/systemd/metadata.xml       | 11 +++++++++
 dev-ml/systemd/systemd-1.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-ml/systemd/Manifest b/dev-ml/systemd/Manifest
new file mode 100644
index 000000000..a935d689a
--- /dev/null
+++ b/dev-ml/systemd/Manifest
@@ -0,0 +1 @@
+DIST systemd-1.2.tar.gz 47912 BLAKE2B b41e5e38f4bce5460449fec46755ea37ffddf8c30b0459f2d70f4714c6f63dffd62c67ed44cb8385e67243b4e0518f1626f5340e24112730c1d058b5a1d30f99 SHA512 a04cb75a425882af95a31a22643cea5620d3f6683c099f9a21e250f1935143db85b12637a8636842463e25b18a18df389026b6950931015f2e612c6c407c67a4

diff --git a/dev-ml/systemd/metadata.xml b/dev-ml/systemd/metadata.xml
new file mode 100644
index 000000000..e4a496827
--- /dev/null
+++ b/dev-ml/systemd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">juergenhoetzel/ocaml-systemd</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-ml/systemd/systemd-1.2.ebuild b/dev-ml/systemd/systemd-1.2.ebuild
new file mode 100644
index 000000000..e9aa7435f
--- /dev/null
+++ b/dev-ml/systemd/systemd-1.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib opam
+
+MY_P="ocaml-${P}"
+
+DESCRIPTION="OCaml module for native access to the systemd facilities"
+HOMEPAGE="https://github.com/juergenhoetzel/ocaml-systemd"
+SRC_URI="https://github.com/juergenhoetzel/ocaml-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="ocamlopt"
+
+RDEPEND="sys-apps/systemd"
+DEPEND="
+	${RDEPEND}
+	dev-ml/ocamlbuild
+"
+
+OPAM_FILE=opam
+
+src_configure() {
+	myconf=(
+		--prefix "/usr"
+		--destdir "${D}"
+		--libdir "/usr/$(get_libdir)"
+		--docdir "/usr/share/doc/${PF}"
+		--htmldir "/usr/share/doc/${PF}/html"
+		--override debug false
+		--override is_native $(usex ocamlopt true false)
+	)
+	./configure "${myconf[@]}" || die
+}
+
+src_compile() {
+	emake
+}
+
+src_install() {
+	findlib_src_preinst
+	emake install
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-15 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15 20:58 [gentoo-commits] repo/proj/guru:master commit in: dev-ml/systemd/ Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox