summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/adodb-ext/adodb-ext-504-r1.ebuild')
-rw-r--r--dev-php/adodb-ext/adodb-ext-504-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/adodb-ext/adodb-ext-504-r1.ebuild b/dev-php/adodb-ext/adodb-ext-504-r1.ebuild
new file mode 100644
index 000000000000..3fe98a3aeeb0
--- /dev/null
+++ b/dev-php/adodb-ext/adodb-ext-504-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 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-r1.ebuild,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+
+EAPI="2"
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit eutils php-ext-source-r1
+
+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"
+
+S="${WORKDIR}/adodb-${PV}"
+
+need_php_by_category
+
+src_prepare() {
+ edos2unix "${S}/adodb.c"
+ epatch "${FILESDIR}/php53.patch"
+}
+
+src_install() {
+ php-ext-source-r1_src_install
+
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins test-adodb.php
+
+ dodoc-php CREDITS README.txt
+}