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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 8 18:05:34 2012 UTC (2 years, 1 month ago) by olemarkus
Branch: MAIN
Version bump

(Portage version: 2.1.10.44/cvs/Linux x86_64)

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.4 2012/02/24 14:36:14 phajdan.jr Exp $
4
5 EAPI="4"
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 USE_PHP="php5-3 php5-4"
14
15 inherit php-ext-pecl-r2 php-ext-source-r2
16
17 KEYWORDS="~amd64 ~x86"
18
19 DESCRIPTION="Extended HTTP Support for PHP."
20 LICENSE="BSD-2 MIT"
21 SLOT="0"
22 IUSE=""
23
24 DEPEND=">=net-misc/curl-7.19.4
25 sys-libs/zlib
26 dev-libs/libevent
27 || ( <dev-lang/php-5.3[spl] >=dev-lang/php-5.3 )
28 >=dev-lang/php-5[hash,session,iconv]
29 php_targets_php5-3? ( dev-lang/php:5.3[-threads] )
30 "
31 RDEPEND="${DEPEND}"
32
33 my_conf="--enable-http \
34 --with-http-curl-requests \
35 --with-http-zlib-compression \
36 --with-http-curl-libevent \
37 --with-http-magic-mime"
38
39 src_install() {
40 php-ext-pecl-r2_src_install
41
42 php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
43 php-ext-source-r2_addtoinifiles "http.force_exit" "1"
44 php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
45 php-ext-source-r2_addtoinifiles "http.log.cache" ""
46 php-ext-source-r2_addtoinifiles "http.log.composite" ""
47 php-ext-source-r2_addtoinifiles "http.log.not_found" ""
48 php-ext-source-r2_addtoinifiles "http.log.redirect" ""
49 php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
50 php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
51 php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
52 php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
53 php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
54 php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
55 php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
56 php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
57 php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
58 php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
59 php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
60 php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
61 php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
62 php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
63 }

  ViewVC Help
Powered by ViewVC 1.1.20