diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2011-04-11 12:39:28 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2011-04-11 12:39:28 +0000 |
commit | 54e729a10bf2c40e4b63d914149755857ad2045e (patch) | |
tree | bf050af1ec1bdda3f40a47d93c0d4e7abe3e1d3f /dev-php5/libvirt-php | |
parent | Add support for .ebuild and .eclass as gentoo filetypes (#360479) (diff) | |
download | historical-54e729a10bf2c40e4b63d914149755857ad2045e.tar.gz historical-54e729a10bf2c40e4b63d914149755857ad2045e.tar.bz2 historical-54e729a10bf2c40e4b63d914149755857ad2045e.zip |
Initial commit (ebuild written by me). Added php as herd as discussed with Ole Markus.
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'dev-php5/libvirt-php')
-rw-r--r-- | dev-php5/libvirt-php/ChangeLog | 12 | ||||
-rw-r--r-- | dev-php5/libvirt-php/Manifest | 5 | ||||
-rw-r--r-- | dev-php5/libvirt-php/libvirt-php-0.4.1.ebuild | 44 | ||||
-rw-r--r-- | dev-php5/libvirt-php/libvirt-php-9999.ebuild | 48 | ||||
-rw-r--r-- | dev-php5/libvirt-php/metadata.xml | 9 |
5 files changed, 118 insertions, 0 deletions
diff --git a/dev-php5/libvirt-php/ChangeLog b/dev-php5/libvirt-php/ChangeLog new file mode 100644 index 000000000000..d92f4c3089eb --- /dev/null +++ b/dev-php5/libvirt-php/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-php5/libvirt-php +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/libvirt-php/ChangeLog,v 1.1 2011/04/11 12:39:28 dev-zero Exp $ + +*libvirt-php-9999 (11 Apr 2011) +*libvirt-php-0.4.1 (11 Apr 2011) + + 11 Apr 2011; Tiziano Müller <dev-zero@gentoo.org> +libvirt-php-0.4.1.ebuild, + +libvirt-php-9999.ebuild, +metadata.xml: + Initial commit (ebuild written by me). Added php as herd as discussed with + Ole Markus. + diff --git a/dev-php5/libvirt-php/Manifest b/dev-php5/libvirt-php/Manifest new file mode 100644 index 000000000000..4d82ec22c1da --- /dev/null +++ b/dev-php5/libvirt-php/Manifest @@ -0,0 +1,5 @@ +DIST libvirt-php-0.4.1.tar.gz 188824 RMD160 08158dadb1f3198a48521241f010f7c099ce2451 SHA1 3e7fc30b03178ef48222ba5c07c1b7103d8e44d9 SHA256 46eda278fc296e0abe29f0103f957a75a1dd4c7d6bcee41fe9eeafd61b69886c +EBUILD libvirt-php-0.4.1.ebuild 1036 RMD160 fbcd8464ce1d144876238c927a7ae76d79d62423 SHA1 8fa179df7d5e1f33554b6d796a277539c84c3047 SHA256 43d8f08f1442ba11065d90e5ece5aead75b77121fd7f0b99bba1f379fd0abd28 +EBUILD libvirt-php-9999.ebuild 1091 RMD160 f88574ae10ffeaf6c1a345920c93979ec6b2bb3a SHA1 63f935852b37258d5745b5409046bf51ba8d1189 SHA256 7a1377141f7087d2bd3839ca77bc5022c91c90946f581520fc53a907ac56e5ba +MISC ChangeLog 496 RMD160 e31d4c36485e4506724413bf010e3d85e960a006 SHA1 9371aaf33a5cf86a9d3d0221372f007970c1c157 SHA256 fad8e3ab0fe17fae822355c13f5bab4e150558d746ee7c02e7bb66c245e494d6 +MISC metadata.xml 261 RMD160 3dfc32fc4a6215701ede03b2f25c6d6b6d7951ac SHA1 2759479e00a98714448f5017325c9f9657b109a7 SHA256 64f2b29ebee478c992994ad76eb5c381bcdd3cbceb28f9cddd94a5121058520f diff --git a/dev-php5/libvirt-php/libvirt-php-0.4.1.ebuild b/dev-php5/libvirt-php/libvirt-php-0.4.1.ebuild new file mode 100644 index 000000000000..fd1c81072850 --- /dev/null +++ b/dev-php5/libvirt-php/libvirt-php-0.4.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/libvirt-php/libvirt-php-0.4.1.ebuild,v 1.1 2011/04/11 12:39:28 dev-zero Exp $ + +EAPI=3 + +PHP_EXT_NAME="php-libvirt" +USE_PHP="php5-3 php5-2" + +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="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${DEPEND} + doc? ( app-text/xhtml1 dev-libs/libxslt )" + +src_unpack() { + default + # create the default modules directory to be able + # to use the php-ext-source-r2 eclass to install + ln -s src "${S}/modules" + + for slot in $(php_get_slots); do + cp -r "${S}" "${WORKDIR}/${slot}" + done +} + +src_install() { + php-ext-source-r2_src_install + use doc && dohtml docs/* docs/graphics/* + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-php5/libvirt-php/libvirt-php-9999.ebuild b/dev-php5/libvirt-php/libvirt-php-9999.ebuild new file mode 100644 index 000000000000..e6a2d4e6d8df --- /dev/null +++ b/dev-php5/libvirt-php/libvirt-php-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/libvirt-php/libvirt-php-9999.ebuild,v 1.1 2011/04/11 12:39:28 dev-zero Exp $ + +EAPI=3 + +PHP_EXT_NAME="php-libvirt" +USE_PHP="php5-3 php5-2" + +inherit php-ext-source-r2 git eutils + +DESCRIPTION="PHP 5 bindings for libvirt." +HOMEPAGE="http://libvirt.org/php.html" +EGIT_REPO_URI="git://libvirt.org/libvirt-php.git" + +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="" +IUSE="doc examples" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${DEPEND} + doc? ( app-text/xhtml1 dev-libs/libxslt )" + +src_unpack() { + git_src_unpack + # create the default modules directory to be able + # to use the php-ext-source-r2 eclass to install + ln -s src "${S}/modules" + + for slot in $(php_get_slots); do + cp -r "${S}" "${WORKDIR}/${slot}" + done +} + +src_prepare() { + php-ext-source-r2_src_prepare +} + +src_install() { + php-ext-source-r2_src_install + use doc && dohtml docs/* docs/graphics/* + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-php5/libvirt-php/metadata.xml b/dev-php5/libvirt-php/metadata.xml new file mode 100644 index 000000000000..f093bc851879 --- /dev/null +++ b/dev-php5/libvirt-php/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> + <maintainer> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> +</pkgmetadata> |