summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/adodb-ext/ChangeLog12
-rw-r--r--dev-php/adodb-ext/adodb-ext-504-r3.ebuild46
2 files changed, 54 insertions, 4 deletions
diff --git a/dev-php/adodb-ext/ChangeLog b/dev-php/adodb-ext/ChangeLog
index 70d0ed8935d1..9d72e143e03c 100644
--- a/dev-php/adodb-ext/ChangeLog
+++ b/dev-php/adodb-ext/ChangeLog
@@ -1,6 +1,11 @@
-# ChangeLog for dev-php5/adodb-ext
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/ChangeLog,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+# ChangeLog for dev-php/adodb-ext
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/ChangeLog,v 1.2 2013/02/20 07:12:15 olemarkus Exp $
+
+*adodb-ext-504-r3 (20 Feb 2013)
+
+ 20 Feb 2013; Ole Markus With <olemarkus@gentoo.org> +adodb-ext-504-r3.ebuild:
+ Adding missing adodb-ext-r3 ebuild
06 Mar 2011; <olemarkus@gentoo.org> files/php53.patch:
The old patch seemed to have incorrect line endings in it and would not
@@ -35,4 +40,3 @@
26 Nov 2005; Luca Longinotti <chtekk@gentoo.org> +metadata.xml,
+adodb-ext-503.ebuild:
Inital import from the PHP Overlay.
-
diff --git a/dev-php/adodb-ext/adodb-ext-504-r3.ebuild b/dev-php/adodb-ext/adodb-ext-504-r3.ebuild
new file mode 100644
index 000000000000..7813206c0c29
--- /dev/null
+++ b/dev-php/adodb-ext/adodb-ext-504-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/adodb-ext-504-r3.ebuild,v 1.1 2013/02/20 07:12:15 olemarkus Exp $
+
+EAPI="5"
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+S="${WORKDIR}/adodb-${PV}"
+
+inherit eutils php-ext-source-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension providing up to 100% speedup by replacing parts of ADOdb with C code."
+HOMEPAGE="http://adodb.sourceforge.net/"
+SRC_URI="http://phplens.com/lens/dl/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-php/adodb-4.70"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_prepare() {
+ if use php_targets_php5-3 ; then
+ cd "${WORKDIR}/php5.3"
+ edos2unix "${WORKDIR}/php5.3/adodb.c"
+ epatch "${FILESDIR}/php53.patch"
+ cd "${S}"
+ fi
+ php-ext-source-r2_src_prepare
+}
+
+src_install() {
+ php-ext-source-r2_src_install
+
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins test-adodb.php
+
+ dodoc CREDITS README.txt
+}