Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9657 Details for
Bug 15741
PHP Accelerator 1.3.3 for PHP 4.3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
php-accelerator-1.3.3_p2.ebuild
php-accelerator-1.3.3_p2.ebuild (text/plain), 2.20 KB, created by
Tom Payne (RETIRED)
on 2003-03-21 11:23:51 UTC
(
hide
)
Description:
php-accelerator-1.3.3_p2.ebuild
Filename:
MIME Type:
Creator:
Tom Payne (RETIRED)
Created:
2003-03-21 11:23:51 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="The ionCube PHP Accelerator" >HOMEPAGE="http://www.php-accelerator.co.uk/" >LICENSE="freedist" >SLOT="0" >KEYWORDS="~alpha ~x86" >IUSE="" > ># Detect machine type >case ${MACHTYPE} in >alpha-pc-linux-gnu) > OS="linux" > CPU="alpha" > PHP_VERSIONS="4.0.6 4.0.7RC3 4.1.1 4.1.2 4.2.1 4.3.0dev" > ;; >i686-pc-linux-gnu) > OS="linux" > CPU="i686" > PHP_VERSIONS="4.0.6 4.1.0 4.2.1 4.3.0" > ;; >*) > PHPA_NO_BUILD=1 > ;; >esac > ># Detect glibc version >GLIBC_VER="2.1.3" > ># Detect PHP version >PHP_DEFAULT_VER=`echo ${PHP_VERSIONS} | tr " " "\n" | tail -n 1` >if [ -z "${PHP_VER}" ]; then > php_config=`which php-config 2> /dev/null` > if [ -n "${php_config}" ] && [ -x "${php_config}" ]; then > PHP_VER=`${php_config} --version` > else > PHP_VER="${PHP_DEFAULT_VER}" > fi >fi > >PHPA_VER=`echo ${PV} | sed -e 's/_p/r/'` >PHPA="php_accelerator-${PHPA_VER}_php-${PHP_VER}_${OS}_${CPU}-glibc${GLIBC_VER}" > >SRC_URI="http://www.php-accelerator.co.uk/releases/${OS}_${CPU}-glibc${GLIBC_VER}/${PHPA_VER}_${PHP_VER}/${PHPA}.tgz" >DEPEND="" >RDEPEND=">=virtual/glibc-${GLIBC_VER} >=virtual/php-${PHP_VER}" > >S=${WORKDIR}/${PHPA} > >pkg_setup() { > > if [ -n "${PHPA_NO_BUILD}" ]; then > die "There is no build for your machine type (${MACHTYPE})" > fi > > re=`echo ${PHP_VER} | sed 's/\\./\\\\./g'` > found=`echo ${PHP_VERSIONS} | tr " " "\n" | grep -x ${re}` > echo found=${found} > if [ -z "${found}" ]; then > eerror "There is no build for your version of PHP (${PHP_VER})" > eerror "Supported versions of PHP for your machine type are: ${PHP_VERSIONS}" > eerror "Override with the PHP_VER environment variable, for example:" > eerror " # PHP_VER=\"${PHP_DEFAULT_VER}\" emerge phpaccelerator" > die "There is no build for your version of PHP (${PHP_VER})" > fi > >} > >src_install() { > dosbin phpa_cache_admin > insinto /usr/lib/php > doins php_accelerator_${PHPA_VER}.so > insinto /home/httpd/icons > doins *.gif > dodoc CONFIGURATION INSTALL release_notes > einfo "To enable PHP Accelerator add the lines" > einfo " ; PHP Accelerator extension" > einfo " zend_extension=\"/usr/lib/php/php_accelerator_${PHPA_VER}.so\"" > einfo "to the extensions section of /etc/php4/php.ini" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 15741
:
8300
| 9657