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 | 739c01fde6444bcd2c552ff4784c1a50a91e6a6d (patch) | |
tree | 7fe5f680270b687cba861c06b931f37d1f4b652c /dev-php5 | |
parent | Add support for .ebuild and .eclass as gentoo filetypes (#360479) (diff) | |
download | gentoo-2-739c01fde6444bcd2c552ff4784c1a50a91e6a6d.tar.gz gentoo-2-739c01fde6444bcd2c552ff4784c1a50a91e6a6d.tar.bz2 gentoo-2-739c01fde6444bcd2c552ff4784c1a50a91e6a6d.zip |
Initial commit (ebuild written by me). Added php as herd as discussed with Ole Markus.
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/libvirt-php/ChangeLog | 12 | ||||
-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 |
4 files changed, 113 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/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> |