summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2010-11-05 07:34:41 +0000
committerOle Markus With <olemarkus@gentoo.org>2010-11-05 07:34:41 +0000
commita7518c550be7855b5571df05347024b38e9260cb (patch)
tree0651fc430d7988abc5ad740acaa5e579c0e2ca1f /dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild
parentRemove old versions. (diff)
downloadgentoo-2-a7518c550be7855b5571df05347024b38e9260cb.tar.gz
gentoo-2-a7518c550be7855b5571df05347024b38e9260cb.tar.bz2
gentoo-2-a7518c550be7855b5571df05347024b38e9260cb.zip
Revbump supporting minor version slotting
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild')
-rw-r--r--dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild b/dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..2469df29c254
--- /dev/null
+++ b/dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild,v 1.1 2010/11/05 07:34:41 olemarkus Exp $
+
+EAPI="2"
+PHP_EXT_NAME="memcached"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+USE_PHP="php5-2 php5-3"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension for interfacing with memcached via libmemcached library"
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="+session"
+
+DEPEND=">=dev-libs/libmemcached-0.38 sys-libs/zlib
+ dev-lang/php[session?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ my_conf="--enable-memcached
+ --with-zlib-dir=/usr
+ $(use_enable session memcached-session)"
+ php-ext-source-r2_src_configure
+}