diff --git a/www-apps/icinga-php-library/Manifest b/www-apps/icinga-php-library/Manifest new file mode 100644 index 0000000..5187c97 --- /dev/null +++ b/www-apps/icinga-php-library/Manifest @@ -0,0 +1 @@ +DIST icinga-php-library-0.6.1.tar.gz 2159137 BLAKE2B 93287845a6c06653faca1850b18c880d023d4bf22c707616a21b92bd252661c811a33c7515fbf19a06936358244c7703bae83cc2e44dee460fe7a46bfa82d345 SHA512 64800727e60630224993bda89494921a3e10f14ccb43b8f57d023b372806ce9253cdf7f6e933df8b494ef0369784714ac857fb288f7f08880c29e8643f25e2ec diff --git a/www-apps/icinga-php-library/icinga-php-library-0.6.1.ebuild b/www-apps/icinga-php-library/icinga-php-library-0.6.1.ebuild new file mode 100644 index 0000000..9fa545f --- /dev/null +++ b/www-apps/icinga-php-library/icinga-php-library-0.6.1.ebuild @@ -0,0 +1,25 @@ +# 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/icingaweb2/library" + doins -r "${S}"/vendor + + insinto "/usr/share/icingaweb2/public" + doins -r "${S}"/asset/* +} diff --git a/www-apps/icinga-php-library/metadata.xml b/www-apps/icinga-php-library/metadata.xml new file mode 100644 index 0000000..17361c3 --- /dev/null +++ b/www-apps/icinga-php-library/metadata.xml @@ -0,0 +1,8 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + +