summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2011-12-14 22:43:21 +0000
committerMatti Bickel <mabi@gentoo.org>2011-12-14 22:43:21 +0000
commit6a2ed002eee05fb3ca85041752e3607129fcc9c7 (patch)
treedde4b7cda8ae5c80099c53015e1fca0c14760b38 /dev-php
parentMoving package from dev-php5 to dev-php category (bug #324665) (diff)
downloadgentoo-2-6a2ed002eee05fb3ca85041752e3607129fcc9c7.tar.gz
gentoo-2-6a2ed002eee05fb3ca85041752e3607129fcc9c7.tar.bz2
gentoo-2-6a2ed002eee05fb3ca85041752e3607129fcc9c7.zip
Moving package from dev-php5 to dev-php category (bug #324665)
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-mogilefs/ChangeLog10
-rw-r--r--dev-php/pecl-mogilefs/metadata.xml8
-rw-r--r--dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild39
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-php/pecl-mogilefs/ChangeLog b/dev-php/pecl-mogilefs/ChangeLog
new file mode 100644
index 000000000000..689a57ea8147
--- /dev/null
+++ b/dev-php/pecl-mogilefs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-php5/pecl-mogilefs
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mogilefs/ChangeLog,v 1.1 2011/12/14 22:43:21 mabi Exp $
+
+*pecl-mogilefs-0.8.1 (23 Feb 2011)
+
+ 23 Feb 2011; Robin H. Johnson <robbat2@gentoo.org>
+ +pecl-mogilefs-0.8.1.ebuild, +metadata.xml:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/dev-php/pecl-mogilefs/metadata.xml b/dev-php/pecl-mogilefs/metadata.xml
new file mode 100644
index 000000000000..c12d48c2ae64
--- /dev/null
+++ b/dev-php/pecl-mogilefs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild b/dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild
new file mode 100644
index 000000000000..1ee86e636cdc
--- /dev/null
+++ b/dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild,v 1.1 2011/12/14 22:43:21 mabi Exp $
+
+EAPI="2"
+PHP_EXT_NAME="mogilefs"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+USE_PHP="php5-2 php5-3"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP client library to communicate with the MogileFS storage"
+# this is the old homepage, but it has documentation which the PECL page
+# doesn't...
+HOMEPAGE="http://projects.usrportage.de/index.fcgi/php-mogilefs"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="net-libs/neon"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # config.m4 looks for xml2-config but doesn't actually use it...
+ sed -i -e '/Cannot find libxml2/d' \
+ "${S}"/config.m4
+
+ php-ext-source-r2_src_prepare
+}
+
+src_configure() {
+ my_conf="--with-mogilefs"
+ php-ext-source-r2_src_configure
+}