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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Mar 10 21:04:54 2012 UTC (2 years, 5 months ago) by olemarkus
Branch: MAIN
Revbump with cleaner deps

(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.3.ebuild,v 1.1 2012/03/08 18:05:34 olemarkus 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[hash,session,iconv]
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