diff options
author | Michal Privoznik <michal.privoznik@gmail.com> | 2022-12-07 15:46:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-24 06:58:39 +0000 |
commit | aa51906711a051cb1896ccffa20a4a21c77e4fcb (patch) | |
tree | 927178aace0c3953487807c244a26c1b875bc47e /dev-php | |
parent | dev-php/libvirt-php: Drop remove-imagick-check.patch from live ebuild (diff) | |
download | gentoo-aa51906711a051cb1896ccffa20a4a21c77e4fcb.tar.gz gentoo-aa51906711a051cb1896ccffa20a4a21c77e4fcb.tar.bz2 gentoo-aa51906711a051cb1896ccffa20a4a21c77e4fcb.zip |
dev-php/libvirt-php: bump to v0.5.7
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28588
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/libvirt-php/Manifest | 1 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.7.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest index 59f708ad3ce5..b002687353b3 100644 --- a/dev-php/libvirt-php/Manifest +++ b/dev-php/libvirt-php/Manifest @@ -1 +1,2 @@ DIST libvirt-php-0.5.6.tar.xz 386372 BLAKE2B 30d6a1c8dd18a4bd9d46e9c20551978fa0c20f2d671a359fdbf86def5166df7f882e65c509087efe0acef7d0dc468b3eb520689f9e7ba552e966809c8f647390 SHA512 5d1b3a2afc697051a5a0d4750ce4d02b31f482b1c17ef2cf4a593b705de438d8ccb4b1543ce6b2520b450734b3634e64ccf9200227f5681cbd2daad5a9f5ee9c +DIST libvirt-php-0.5.7.tar.xz 389380 BLAKE2B c8189ffdeb29a056ef959624cd46a18ce7e4e00df6a42bfb3d6349ee8aa3865a4d66b82aed9ee4f68aa7f9761adb8eb8b62bd15d7c6e8e17c187ae44eba71a86 SHA512 ecc640ce2c936f59824212eca36bbe3ae13c560854e0d86da9f1d4d02373751f974b374915ded57d74636c0443c09c895857e8701204fbf49c402c1f315ae0b7 diff --git a/dev-php/libvirt-php/libvirt-php-0.5.7.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.7.ebuild new file mode 100644 index 000000000000..96777d784f67 --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.7.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php7-4 php8-0 php8-1" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +SRC_URI="http://libvirt.org/sources/php/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +DOCS=( ChangeLog NEWS README ) + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" || die +} + +src_prepare() { + php-ext-source-r3_src_prepare + + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + + php-ext-source-r3_createinifiles + einstalldocs + + if use doc ; then + docinto html + dodoc -r docs/* + fi +} + +src_test() { + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + default + done +} |