diff options
author | Lance Albertson <ramereth@gentoo.org> | 2010-03-07 22:04:36 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2010-03-07 22:04:36 +0000 |
commit | dab0d0ac870440cf8eb371a1ec11fed07ddc1905 (patch) | |
tree | b82026a03b08b313604ebba9f777803ac3cc4475 /dev-php5 | |
parent | corrected DESCRIPTION (diff) | |
download | gentoo-2-dab0d0ac870440cf8eb371a1ec11fed07ddc1905.tar.gz gentoo-2-dab0d0ac870440cf8eb371a1ec11fed07ddc1905.tar.bz2 gentoo-2-dab0d0ac870440cf8eb371a1ec11fed07ddc1905.zip |
Add initial ebuild for the mongodb php driver
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/mongo/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php5/mongo/metadata.xml | 13 | ||||
-rw-r--r-- | dev-php5/mongo/mongo-1.0.4.ebuild | 33 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-php5/mongo/ChangeLog b/dev-php5/mongo/ChangeLog new file mode 100644 index 000000000000..94d8d4a829e2 --- /dev/null +++ b/dev-php5/mongo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-php5/mongo +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/mongo/ChangeLog,v 1.1 2010/03/07 22:04:36 ramereth Exp $ + +*mongo-1.0.4 (26 Feb 2010) + + 26 Feb 2010; Lance Albertson <ramereth@gentoo.org> +mongo-1.0.4.ebuild, + +metadata.xml: + Initial ebuild + diff --git a/dev-php5/mongo/metadata.xml b/dev-php5/mongo/metadata.xml new file mode 100644 index 000000000000..2283dda3f0df --- /dev/null +++ b/dev-php5/mongo/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> + <maintainer> + <email>ramereth@gentoo.org</email> + <name>Lance Albertson</name> + </maintainer> + <longdescription lang="en"> + Officially supported PHP driver for MongoDB + </longdescription> +</pkgmetadata> + diff --git a/dev-php5/mongo/mongo-1.0.4.ebuild b/dev-php5/mongo/mongo-1.0.4.ebuild new file mode 100644 index 000000000000..dc82b7f2437b --- /dev/null +++ b/dev-php5/mongo/mongo-1.0.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/mongo/mongo-1.0.4.ebuild,v 1.1 2010/03/07 22:04:36 ramereth Exp $ + +EAPI="2" + +PHP_EXT_NAME="mongo" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit php-ext-source-r1 +MY_PN="${PN}-php-driver" + +DESCRIPTION="Officially supported PHP driver for MongoDB" +HOMEPAGE="http://github.com/mongodb/mongo-php-driver" +SRC_URI="http://github.com/mongodb/${MY_PN}/tarball/${PV} -> ${MY_PN}-${PV}.tar.gz" + +S="${WORKDIR}/mongodb-${MY_PN}-4f27964" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DOCS="README.rdoc" +my_conf="--enable-mongo" + +src_install() { + php-ext-source-r1_src_install + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins -r php/Mongo/* +} |