summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-11-03 22:12:52 +0000
committerMatti Bickel <mabi@gentoo.org>2010-11-03 22:12:52 +0000
commita1fb02c79aecdbc4633abdc9144582af324df373 (patch)
tree6ec45b8bd40448d80c682847f71eb5d6be5ca77a /dev-php5/adodb-ext
parentAdded a version that supports minor version slotting (diff)
downloadgentoo-2-a1fb02c79aecdbc4633abdc9144582af324df373.tar.gz
gentoo-2-a1fb02c79aecdbc4633abdc9144582af324df373.tar.bz2
gentoo-2-a1fb02c79aecdbc4633abdc9144582af324df373.zip
create minor slotting compatible version
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5/adodb-ext')
-rw-r--r--dev-php5/adodb-ext/ChangeLog7
-rw-r--r--dev-php5/adodb-ext/adodb-ext-504-r2.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-php5/adodb-ext/ChangeLog b/dev-php5/adodb-ext/ChangeLog
index 74b8ced82e75..2b72db504f87 100644
--- a/dev-php5/adodb-ext/ChangeLog
+++ b/dev-php5/adodb-ext/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/adodb-ext
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/ChangeLog,v 1.5 2010/09/11 12:45:53 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/ChangeLog,v 1.6 2010/11/03 22:12:52 mabi Exp $
+
+*adodb-ext-504-r2 (03 Nov 2010)
+
+ 03 Nov 2010; Matti Bickel <mabi@gentoo.org> +adodb-ext-504-r2.ebuild:
+ create minor slotting compatible version
*adodb-ext-504-r1 (11 Sep 2010)
diff --git a/dev-php5/adodb-ext/adodb-ext-504-r2.ebuild b/dev-php5/adodb-ext/adodb-ext-504-r2.ebuild
new file mode 100644
index 000000000000..4ffa3208a8e3
--- /dev/null
+++ b/dev-php5/adodb-ext/adodb-ext-504-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/adodb-ext-504-r2.ebuild,v 1.1 2010/11/03 22:12:52 mabi Exp $
+
+EAPI="2"
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+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"
+
+S="${WORKDIR}/adodb-${PV}"
+
+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-php CREDITS README.txt
+}