summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2016-08-16 00:18:02 -0500
committerMatthias Maier <tamiko@gentoo.org>2016-08-16 00:22:04 -0500
commitb2117fdc99012d53d7739729027b16d95570f98b (patch)
tree1029dd978a8614114566ef5355f91f06d23db616 /dev-php/libvirt-php
parentdev-php/libvirt-php: Update live build, bug #588218 (diff)
downloadgentoo-b2117fdc99012d53d7739729027b16d95570f98b.tar.gz
gentoo-b2117fdc99012d53d7739729027b16d95570f98b.tar.bz2
gentoo-b2117fdc99012d53d7739729027b16d95570f98b.zip
dev-php/libvirt-php: version bump to 0.5.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-php/libvirt-php')
-rw-r--r--dev-php/libvirt-php/Manifest1
-rw-r--r--dev-php/libvirt-php/libvirt-php-0.5.2.ebuild52
-rw-r--r--dev-php/libvirt-php/libvirt-php-9999.ebuild1
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest
index 824a4a521b4..bb568c65797 100644
--- a/dev-php/libvirt-php/Manifest
+++ b/dev-php/libvirt-php/Manifest
@@ -1 +1,2 @@
DIST libvirt-php-0.4.8.tar.gz 249753 SHA256 75508ab420c45fface8cdd8328053eee2207f8ff2aab572627ba8f30aacaef35 SHA512 2c1cbe914ab73a45b917130224fd803bfb41b0cc470d5480050c6d512dc4509ee96adcaa3ce3735747f17c4748ce66782437009b5445c364800fa308ee5059d1 WHIRLPOOL bdf18892348de1a8984e23a7f3044f3f861956fd4bf28796f0a79c91079081b97fe630adf6073db2bf94534df22becc503dfb81cc0cc5f1ebf39e6804c93d905
+DIST libvirt-php-0.5.2.tar.gz 770816 SHA256 f338caab2bebcce60cd62e3982ec4c1a274ecaf49d03cf7080b45f2f16cd516d SHA512 11844fea8507090826acd81fc7c257ecc3ed9cca10fc785e4d54b98ebd1e213310e379e7ca684c6439d9e2c57800a140fdc9953c6bec72da1959f5ed99e9ef31 WHIRLPOOL 19bde6afd0ef824557048d9f00aa1dd34f7138408326653e49c04a25e514575d1c2d92c462a8a9f40048ae2af7b2e46a27b66561cddf21fb8f28c294085700f5
diff --git a/dev-php/libvirt-php/libvirt-php-0.5.2.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.2.ebuild
new file mode 100644
index 00000000000..17772da64f7
--- /dev/null
+++ b/dev-php/libvirt-php/libvirt-php-0.5.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PHP_EXT_NAME="libvirt-php"
+PHP_EXT_SKIP_PHPIZE="yes"
+USE_PHP="php5-6 php5-5"
+
+inherit php-ext-source-r2 eutils
+
+DESCRIPTION="PHP 5 bindings for libvirt"
+HOMEPAGE="http://libvirt.org/php/"
+SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND="app-emulation/libvirt
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt
+ doc? ( app-text/xhtml1 )"
+
+RESTRICT="test"
+
+src_unpack() {
+ default
+
+ # create the default modules directory to be able
+ # to use the php-ext-source-r2 eclass to configure/build
+ ln -s src "${S}/modules"
+
+ for slot in $(php_get_slots); do
+ cp -r "${S}" "${WORKDIR}/${slot}"
+ done
+}
+
+src_install() {
+ local slot
+ for slot in $(php_get_slots); do
+ php_init_slot_env ${slot}
+ insinto "${EXT_DIR}"
+ newins "src/.libs/${PHP_EXT_NAME}.so.0.0.0" "${PHP_EXT_NAME}.so"
+ done
+ php-ext-source-r2_createinifiles
+ dodoc AUTHORS ChangeLog NEWS README
+ use doc && dohtml docs/* docs/graphics/*
+}
diff --git a/dev-php/libvirt-php/libvirt-php-9999.ebuild b/dev-php/libvirt-php/libvirt-php-9999.ebuild
index 737b9978864..4971cd8a914 100644
--- a/dev-php/libvirt-php/libvirt-php-9999.ebuild
+++ b/dev-php/libvirt-php/libvirt-php-9999.ebuild
@@ -51,6 +51,7 @@ src_prepare() {
}
src_install() {
+ local slot
for slot in $(php_get_slots); do
php_init_slot_env ${slot}
insinto "${EXT_DIR}"