summaryrefslogtreecommitdiff
blob: 057afdb6249831bbd29f083e82b0d3cd9de5818b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2012 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.9.1.ebuild,v 1.1 2012/01/15 17:00:26 olemarkus Exp $

EAPI="4"
PHP_EXT_NAME="mogilefs"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
DOCS="README"

USE_PHP="php5-3 php5-4"

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
}