You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-php/pecl-mogilefs/pecl-mogilefs-0.9.1.ebuild

40 lines
950 B

# 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
}