/[gentoo-x86]/dev-php/pecl-http/pecl-http-1.7.1.ebuild
Gentoo

Contents of /dev-php/pecl-http/pecl-http-1.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Feb 24 14:36:14 2012 UTC (2 years, 4 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #397001

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-http/pecl-http-1.7.1.ebuild,v 1.3 2012/02/21 13:54:40 olemarkus Exp $
4
5 EAPI="3"
6
7 PHP_EXT_NAME="http"
8 PHP_EXT_PECL_PKG="pecl_http"
9 PHP_EXT_INI="yes"
10 PHP_EXT_ZENDEXT="no"
11 DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
12
13 inherit php-ext-pecl-r2 php-ext-source-r2
14
15 KEYWORDS="amd64 x86"
16
17 DESCRIPTION="Extended HTTP Support for PHP."
18 LICENSE="BSD-2 MIT"
19 SLOT="0"
20 IUSE=""
21
22 DEPEND=">=net-misc/curl-7.19.4
23 sys-libs/zlib
24 dev-libs/libevent
25 || ( <dev-lang/php-5.3[spl] >=dev-lang/php-5.3 )
26 >=dev-lang/php-5[hash,session,iconv]
27 php_targets_php5-3? ( dev-lang/php:5.3[-threads] )
28 "
29 RDEPEND="${DEPEND}"
30
31 my_conf="--enable-http \
32 --with-http-curl-requests \
33 --with-http-zlib-compression \
34 --with-http-curl-libevent \
35 --with-http-magic-mime"
36
37 src_install() {
38 php-ext-pecl-r2_src_install
39
40 php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
41 php-ext-source-r2_addtoinifiles "http.force_exit" "1"
42 php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
43 php-ext-source-r2_addtoinifiles "http.log.cache" ""
44 php-ext-source-r2_addtoinifiles "http.log.composite" ""
45 php-ext-source-r2_addtoinifiles "http.log.not_found" ""
46 php-ext-source-r2_addtoinifiles "http.log.redirect" ""
47 php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
48 php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
49 php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
50 php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
51 php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
52 php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
53 php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
54 php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
55 php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
56 php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
57 php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
58 php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
59 php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
60 php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20