commit:     de48234670c7b7b914d0dc5bc963df5880274b09
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 16 18:58:05 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 18:58:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de482346

dev-libs/icinga-php-library: add for icingaweb2

thanks to Alarig Le Lay for the pointer to the ebuild

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --force
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-libs/icinga-php-library/Manifest               |  1 +
 .../icinga-php-library-0.6.1.ebuild                | 23 ++++++++++++++++++++++
 dev-libs/icinga-php-library/metadata.xml           |  8 ++++++++
 3 files changed, 32 insertions(+)

diff --git a/dev-libs/icinga-php-library/Manifest 
b/dev-libs/icinga-php-library/Manifest
new file mode 100644
index 00000000000..5187c97da7f
--- /dev/null
+++ b/dev-libs/icinga-php-library/Manifest
@@ -0,0 +1 @@
+DIST icinga-php-library-0.6.1.tar.gz 2159137 BLAKE2B 
93287845a6c06653faca1850b18c880d023d4bf22c707616a21b92bd252661c811a33c7515fbf19a06936358244c7703bae83cc2e44dee460fe7a46bfa82d345
 SHA512 
64800727e60630224993bda89494921a3e10f14ccb43b8f57d023b372806ce9253cdf7f6e933df8b494ef0369784714ac857fb288f7f08880c29e8643f25e2ec

diff --git a/dev-libs/icinga-php-library/icinga-php-library-0.6.1.ebuild 
b/dev-libs/icinga-php-library/icinga-php-library-0.6.1.ebuild
new file mode 100644
index 00000000000..8024c5f6abb
--- /dev/null
+++ b/dev-libs/icinga-php-library/icinga-php-library-0.6.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Icinga PHP libraries for Icinga Web 2."
+HOMEPAGE="https://github.com/Icinga/icinga-php-library";
+MY_GITHUB_AUTHOR="Icinga"
+SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="dev-lang/php:*"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+       insinto "/usr/share/icinga-php/ipl"
+       doins -r "${S}"/vendor
+}
+

diff --git a/dev-libs/icinga-php-library/metadata.xml 
b/dev-libs/icinga-php-library/metadata.xml
new file mode 100644
index 00000000000..3ffdeb4af3b
--- /dev/null
+++ b/dev-libs/icinga-php-library/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to