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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Dec 14 22:38:36 2011 UTC (2 years, 8 months ago) by mabi
Branch: MAIN
Moving package from dev-php5 to dev-php category (bug #324665)

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2011 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.0-r1.ebuild,v 1.3 2011/01/04 15:19:33 hwoarang 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 "
28 RDEPEND="${DEPEND}"
29
30 my_conf="--enable-http \
31 --with-http-curl-requests \
32 --with-http-zlib-compression \
33 --with-http-curl-libevent \
34 --with-http-magic-mime"
35
36 src_install() {
37 php-ext-pecl-r2_src_install
38
39 php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
40 php-ext-source-r2_addtoinifiles "http.force_exit" "1"
41 php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
42 php-ext-source-r2_addtoinifiles "http.log.cache" ""
43 php-ext-source-r2_addtoinifiles "http.log.composite" ""
44 php-ext-source-r2_addtoinifiles "http.log.not_found" ""
45 php-ext-source-r2_addtoinifiles "http.log.redirect" ""
46 php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
47 php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
48 php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
49 php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
50 php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
51 php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
52 php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
53 php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
54 php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
55 php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
56 php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
57 php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
58 php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
59 php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
60 }

  ViewVC Help
Powered by ViewVC 1.1.20