htscanner ebuild
Bernd Wurst

Bernd Wurst commited on 2007-11-24 22:53:00
Zeige 3 geänderte Dateien mit 53 Einfügungen und 0 Löschungen.

... ...
@@ -0,0 +1,8 @@
1
+DIST htscanner-0.8.1.tgz 8608 RMD160 0fc6433e413506ea48ccc8ecc71717ddd16c81eb SHA1 875ff59778d2acc41d319e6295760f7c1565ccf0 SHA256 d400194d4d4d2bbacbaffc8035496caeaa4f524a685bdd4f93ebfdfed0a3e000
2
+EBUILD pecl-htscanner-0.8.1.ebuild 719 RMD160 ccf83821d7819d8321633c90b91333855e5d5348 SHA1 e742d55d2be35591da85b1d05af253fcffd4aa17 SHA256 06dd11e360ea8cb2cd8e756be8bfc5f38e8e1f833e7cb0c211e144aba1ba2473
3
+MD5 535ac1860d7264bb4ecc215b0b5f9ddf pecl-htscanner-0.8.1.ebuild 719
4
+RMD160 ccf83821d7819d8321633c90b91333855e5d5348 pecl-htscanner-0.8.1.ebuild 719
5
+SHA256 06dd11e360ea8cb2cd8e756be8bfc5f38e8e1f833e7cb0c211e144aba1ba2473 pecl-htscanner-0.8.1.ebuild 719
6
+MD5 7f68d57c7ccbb83d626211d31e4ea950 files/digest-pecl-htscanner-0.8.1 232
7
+RMD160 e617f4ecba3c754029c0820866fd87f3883bfd67 files/digest-pecl-htscanner-0.8.1 232
8
+SHA256 b75ffbcf9ce82428d801c6110af24dd9c3d03bd53f1127217c3efd52960c587c files/digest-pecl-htscanner-0.8.1 232
... ...
@@ -0,0 +1,3 @@
1
+MD5 8d3a4a63639c380b9268717a9a28dabe htscanner-0.8.1.tgz 8608
2
+RMD160 0fc6433e413506ea48ccc8ecc71717ddd16c81eb htscanner-0.8.1.tgz 8608
3
+SHA256 d400194d4d4d2bbacbaffc8035496caeaa4f524a685bdd4f93ebfdfed0a3e000 htscanner-0.8.1.tgz 8608
... ...
@@ -0,0 +1,42 @@
1
+# Copyright 1999-2007 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Header: $
4
+
5
+PHP_EXT_NAME="htscanner"
6
+PHP_EXT_INI="yes"
7
+PHP_EXT_ZENDEXT="no"
8
+
9
+inherit php-ext-pecl-r1
10
+
11
+KEYWORDS="~amd64 ~x86"
12
+
13
+DESCRIPTION="Enables .htaccess options for php-scripts running as cgi."
14
+LICENSE="PHP"
15
+SLOT="0"
16
+IUSE=""
17
+
18
+need_php_by_category
19
+
20
+pkg_setup() {
21
+	has_php
22
+	require_php_sapi_from cgi apache2
23
+}
24
+
25
+src_compile() {
26
+	has_php
27
+
28
+	my_conf="--enable-htscanner"
29
+	php-ext-pecl-r1_src_compile
30
+}
31
+
32
+src_install() {
33
+	php-ext-pecl-r1_src_install
34
+
35
+	for inifile in ${PHPINIFILELIST} ; do
36
+		insinto "${inifile/${PHP_EXT_NAME}.ini/}"
37
+		insopts -m644
38
+		doins "docs/htscanner.ini"
39
+	done
40
+
41
+	dodoc-php CREDITS README
42
+}
0 43