/[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.2 Revision 1.3
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.2 2005/09/25 15:21:22 kloeri Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.3 2005/10/31 14:08:42 chtekk 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# 7#
8# The php-ext-base eclass provides a unified interface for adding standalone 8# The php-ext-base eclass provides a unified interface for adding standalone
61 addpredict /usr/share/snmp/mibs/.index 61 addpredict /usr/share/snmp/mibs/.index
62 php-ext-base-r1_buildinilist 62 php-ext-base-r1_buildinilist
63 if [ "${PHP_EXT_INI}" = "yes" ] ; then 63 if [ "${PHP_EXT_INI}" = "yes" ] ; then
64 php-ext-base-r1_addextension "${PHP_EXT_NAME}.so" 64 php-ext-base-r1_addextension "${PHP_EXT_NAME}.so"
65 fi 65 fi
66 for inifile in ${PHPINIFILELIST} ; do
67 inidir=${inifile/${PHP_EXT_NAME}.ini/}
68 inidir=${inidir/ext/ext-active}
69 dodir "/${inidir}"
70 dosym "/${inifile}" "/${inifile/ext/ext-active}"
71 done
66 # add support for installing php files into a version dependant directory 72 # add support for installing php files into a version dependant directory
67 PHP_EXT_SHARED_DIR="/usr/share/${PHP_SHARED_CAT}/${PHP_EXT_NAME}" 73 PHP_EXT_SHARED_DIR="/usr/share/${PHP_SHARED_CAT}/${PHP_EXT_NAME}"
68} 74}
69 75
70php-ext-base-r1_addextension() { 76php-ext-base-r1_addextension() {

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

  ViewVC Help
Powered by ViewVC 1.1.20