summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-11-30 07:55:11 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-11-30 07:55:11 +0000
commit8ed6a492e6e538d026246065edc3f034df04e2e2 (patch)
tree4dc4ce0b2f3ab002e4e256b54fa202cf493c53f2 /dev-php5
parentMarked ppc stable for bug #281478. (diff)
downloadgentoo-2-8ed6a492e6e538d026246065edc3f034df04e2e2.tar.gz
gentoo-2-8ed6a492e6e538d026246065edc3f034df04e2e2.tar.bz2
gentoo-2-8ed6a492e6e538d026246065edc3f034df04e2e2.zip
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.2_rc54/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/pecl-memcached/ChangeLog10
-rw-r--r--dev-php5/pecl-memcached/metadata.xml8
-rw-r--r--dev-php5/pecl-memcached/pecl-memcached-1.0.0.ebuild41
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-php5/pecl-memcached/ChangeLog b/dev-php5/pecl-memcached/ChangeLog
new file mode 100644
index 000000000000..912c1edfc5db
--- /dev/null
+++ b/dev-php5/pecl-memcached/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-php5/pecl-memcached
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcached/ChangeLog,v 1.1 2009/11/30 07:55:11 robbat2 Exp $
+
+*pecl-memcached-1.0.0 (30 Nov 2009)
+
+ 30 Nov 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +pecl-memcached-1.0.0.ebuild, +metadata.xml:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/dev-php5/pecl-memcached/metadata.xml b/dev-php5/pecl-memcached/metadata.xml
new file mode 100644
index 000000000000..c12d48c2ae64
--- /dev/null
+++ b/dev-php5/pecl-memcached/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-php5/pecl-memcached/pecl-memcached-1.0.0.ebuild b/dev-php5/pecl-memcached/pecl-memcached-1.0.0.ebuild
new file mode 100644
index 000000000000..c646735d037f
--- /dev/null
+++ b/dev-php5/pecl-memcached/pecl-memcached-1.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 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.0.ebuild,v 1.1 2009/11/30 07:55:11 robbat2 Exp $
+
+EAPI="1"
+PHP_EXT_NAME="memcached"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+inherit php-ext-pecl-r1 php-ext-base-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension for interfacing with memcached via libmemcached library"
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="+session"
+
+DEPEND="dev-libs/libmemcached sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+pkg_setup() {
+ use session && require_php_with_use session
+}
+
+src_compile() {
+ my_conf="--enable-memcached
+ --with-zlib-dir=/usr
+ $(use_enable session memcached-session)"
+ #--enable-memcached-igbinary
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+
+ #php-ext-base-r1_addtoinifiles "memcached...." "..."
+}