diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-10-10 20:56:45 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-10-10 20:56:45 +0000 |
commit | 21070edc833ff9510563e092ba12a4115a06731c (patch) | |
tree | 1ac27f2aa8cca131e7b0fd4051cab2bc7b7764a0 /dev-php5/pecl-http/pecl-http-1.5.6.ebuild | |
parent | stable ppc, bug #195209 (diff) | |
download | gentoo-2-21070edc833ff9510563e092ba12a4115a06731c.tar.gz gentoo-2-21070edc833ff9510563e092ba12a4115a06731c.tar.bz2 gentoo-2-21070edc833ff9510563e092ba12a4115a06731c.zip |
bump to 1.5.6 (from overlay)
(Portage version: 2.1.3.12)
Diffstat (limited to 'dev-php5/pecl-http/pecl-http-1.5.6.ebuild')
-rw-r--r-- | dev-php5/pecl-http/pecl-http-1.5.6.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-php5/pecl-http/pecl-http-1.5.6.ebuild b/dev-php5/pecl-http/pecl-http-1.5.6.ebuild new file mode 100644 index 000000000000..f77f6dbf90bc --- /dev/null +++ b/dev-php5/pecl-http/pecl-http-1.5.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/pecl-http-1.5.6.ebuild,v 1.1 2007/10/10 20:56:45 anant Exp $ + +PHP_EXT_NAME="http" +PHP_EXT_PECL_PKG="pecl_http" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="docs/examples/tutorial.txt" + +inherit php-ext-pecl-r1 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Extended HTTP Support for PHP." +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="net-misc/curl + sys-libs/zlib" +RDEPEND="${DEPEND}" + +need_php_by_category + +src_compile() { + my_conf="--enable-http \ + --with-http-curl-requests \ + --with-http-zlib-compression" + + php-ext-pecl-r1_src_compile +} + +pkg_postinst() { + has_php + if ! built_with_use --missing true =${PHP_PKG} hash iconv session spl ; then + elog "${PN} can optionally use hash, iconv, session and spl features." + elog "If you want those, recompile ${PHP_PKG} with those flags in USE." + fi +} |