diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-07-24 15:14:16 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-07-24 15:14:16 +0000 |
commit | e3e89074f874f2412f5aa6ffee35ecbff5251234 (patch) | |
tree | ce5f894a61efca7dbd60788f1004d8455f4b21d1 /dev-php | |
parent | Initial commit (diff) | |
download | gentoo-2-e3e89074f874f2412f5aa6ffee35ecbff5251234.tar.gz gentoo-2-e3e89074f874f2412f5aa6ffee35ecbff5251234.tar.bz2 gentoo-2-e3e89074f874f2412f5aa6ffee35ecbff5251234.zip |
Initial commit
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/php-accelerator/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php/php-accelerator/Manifest | 4 | ||||
-rw-r--r-- | dev-php/php-accelerator/files/digest-php-accelerator-1.3.3 | 1 | ||||
-rw-r--r-- | dev-php/php-accelerator/php-accelerator-1.3.3.ebuild | 62 |
4 files changed, 74 insertions, 2 deletions
diff --git a/dev-php/php-accelerator/ChangeLog b/dev-php/php-accelerator/ChangeLog new file mode 100644 index 000000000000..eb4910b2ec2c --- /dev/null +++ b/dev-php/php-accelerator/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-php/turck-mmcache +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/ChangeLog,v 1.1 2003/07/24 15:14:08 stuart Exp $ + +*php-accelerator-1.3.3 (24 07 2003) + + 24 Jul 2003: Stuart Herbert <stuart@gentoo.org> php-accelerator-1.3.3.ebuild + + Initial commit to CVS diff --git a/dev-php/php-accelerator/Manifest b/dev-php/php-accelerator/Manifest index cabef29ff738..93469ab18748 100644 --- a/dev-php/php-accelerator/Manifest +++ b/dev-php/php-accelerator/Manifest @@ -1,3 +1,3 @@ -MD5 11f9fcd2b40c65d7170d52e24ffa0de9 php-accelerator-1.3.3.ebuild 1261 -MD5 def0ae782d40631a0457e7b363b738bf ChangeLog 271 +MD5 8e60cd2098bd05af611fd8fb44cd9f4f php-accelerator-1.3.3.ebuild 1376 +MD5 b69ebd1d2094e29b4eb2dd244f9b3dfd ChangeLog 367 MD5 32bb770b001c8c0539f45c0cdaac389b files/digest-php-accelerator-1.3.3 103 diff --git a/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3 b/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3 new file mode 100644 index 000000000000..1076c9f73252 --- /dev/null +++ b/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3 @@ -0,0 +1 @@ +MD5 61b61aaa1d8092b50175a31796964eef php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3.tgz 57023 diff --git a/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild b/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild new file mode 100644 index 000000000000..156d9035d5d5 --- /dev/null +++ b/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild,v 1.1 2003/07/24 15:14:08 stuart Exp $ + +DESCRIPTION="The ionCube PHP Accelerator" +HOMEPAGE="http://www.php-accelerator.co.uk/" +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~x86" +IUSE="" +RESTRICT="nomirror nostrip" + +# Detect machine type +PHP_NO_BUILD= +case ${MACHTYPE} in +alpha-pc-linux-gnu) + OS="linux" + CPU="alpha" + ;; +i686-pc-linux-gnu) + OS="linux" + CPU="i686" + ;; +*) + PHPA_NO_BUILD=1 + ;; +esac + +# Detect glibc version +GLIBC_VER="2.1.3" + +# use phpAccelerator for PHP 4.3.0 +PHP_VER="4.3.0" +PHPA_VER="${PV}r2" +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} + +PHP_EXT_NAME="php_accelerator_${PHPA_VER}" +PHP_EXT_ZENDEXT="yes" + +inherit php-ext-base + +pkg_setup() { + + if [ -n "${PHPA_NO_BUILD}" ]; then + die "There is no build for your machine type (${MACHTYPE})" + fi + +} + +src_install() { + insinto ${EXT_DIR} + doins ${PHP_EXT_NAME}.so + dodoc CONFIGURATION INSTALL release_notes phpa_cache_admin *.gif + + php-ext-base_src_install +} |