blob: 58803be97a0acb3ee555cb857e63676ea74e500e (
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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mogilefs/pecl-mogilefs-0.8.1.ebuild,v 1.1 2011/02/23 08:13:22 robbat2 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
}
|