/[gentoo-x86]/eclass/php-ext-base-r1.eclass
Gentoo

Diff of /eclass/php-ext-base-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.1.1.1 2005/11/30 09:59:18 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.2 2005/09/25 15:21:22 kloeri Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Author: Stuart Herbert <stuart@gentoo.org> 6# Author: Stuart Herbert <stuart@gentoo.org>
7# Maintained by the PHP Herd <php-bugs@gentoo.org>
8# 7#
9# The php-ext-base-r1 eclass provides a unified interface for adding standalone 8# The php-ext-base eclass provides a unified interface for adding standalone
10# PHP extensions ('modules') to the php.ini files on your system. 9# PHP extensions ('modules') to the php.ini files on your system.
11# 10#
12# Combined with php-ext-source-r1, we have a standardised solution for supporting 11# Combined with php-ext-source, we have a standardised solution for supporting
13# PHP extensions. 12# PHP extensions
14 13
15inherit depend.php 14inherit depend.php
16 15
17EXPORT_FUNCTIONS src_install 16EXPORT_FUNCTIONS src_install
18 17
62 addpredict /usr/share/snmp/mibs/.index 61 addpredict /usr/share/snmp/mibs/.index
63 php-ext-base-r1_buildinilist 62 php-ext-base-r1_buildinilist
64 if [ "${PHP_EXT_INI}" = "yes" ] ; then 63 if [ "${PHP_EXT_INI}" = "yes" ] ; then
65 php-ext-base-r1_addextension "${PHP_EXT_NAME}.so" 64 php-ext-base-r1_addextension "${PHP_EXT_NAME}.so"
66 fi 65 fi
67 for inifile in ${PHPINIFILELIST} ; do
68 inidir=${inifile/${PHP_EXT_NAME}.ini/}
69 inidir=${inidir/ext/ext-active}
70 dodir "/${inidir}"
71 dosym "/${inifile}" "/${inifile/ext/ext-active}"
72 done
73 # add support for installing php files into a version dependant directory 66 # add support for installing php files into a version dependant directory
74 PHP_EXT_SHARED_DIR="/usr/share/${PHP_SHARED_CAT}/${PHP_EXT_NAME}" 67 PHP_EXT_SHARED_DIR="/usr/share/${PHP_SHARED_CAT}/${PHP_EXT_NAME}"
75} 68}
76 69
77php-ext-base-r1_addextension() { 70php-ext-base-r1_addextension() {

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20