blob: e63309af419e6a4e37352e152aea586991183f7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-htscanner/pecl-htscanner-1.0.1.ebuild,v 1.2 2014/08/10 21:01:53 slyfox Exp $
EAPI="4"
PHP_EXT_NAME="htscanner"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
DOCS="README"
PHPSAPILIST="cgi"
inherit php-ext-pecl-r2
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Enables .htaccess options for php-scripts running as cgi"
LICENSE="PHP-3"
SLOT="0"
IUSE=""
DEPEND="dev-lang/php[cgi]"
RDEPEND="${DEPEND}"
my_conf="--enable-htscanner"
src_install() {
php-ext-pecl-r2_src_install
php-ext-source-r2_addtoinifiles "config_file" ".htaccess"
php-ext-source-r2_addtoinifiles "default_docroot" "/"
php-ext-source-r2_addtoinifiles "default_ttl" "300"
php-ext-source-r2_addtoinifiles "stop_on_error" "0"
}
|