[arch-commits] Commit in php-memcached/repos (4 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sat Aug 3 16:08:14 UTC 2013


    Date: Saturday, August 3, 2013 @ 18:08:14
  Author: foutrelis
Revision: 95020

archrelease: copy trunk to community-i686, community-x86_64

Added:
  php-memcached/repos/community-i686/PKGBUILD
    (from rev 95019, php-memcached/trunk/PKGBUILD)
  php-memcached/repos/community-x86_64/PKGBUILD
    (from rev 95019, php-memcached/trunk/PKGBUILD)
Deleted:
  php-memcached/repos/community-i686/PKGBUILD
  php-memcached/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   82 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   32 -----------------
 community-x86_64/PKGBUILD |   32 -----------------
 3 files changed, 82 insertions(+), 64 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-08-03 16:07:39 UTC (rev 95019)
+++ community-i686/PKGBUILD	2013-08-03 16:08:14 UTC (rev 95020)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=php-memcached
-pkgver=2.1.0
-pkgrel=1
-pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
-arch=('i686' 'x86_64')
-url="http://pecl.php.net/package/memcached"
-license=('PHP')
-depends=('php' 'libmemcached')
-backup=('etc/php/conf.d/memcached.ini')
-source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
-sha256sums=('bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af')
-
-build() {
-  cd "$srcdir/memcached-$pkgver"
-
-  phpize
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/memcached-$pkgver"
-
-  make INSTALL_ROOT="$pkgdir" install
-  echo ';extension=memcached.so' >memcached.ini
-  install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: php-memcached/repos/community-i686/PKGBUILD (from rev 95019, php-memcached/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-08-03 16:08:14 UTC (rev 95020)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-memcached
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/memcached"
+license=('PHP')
+depends=('php' 'libmemcached')
+backup=('etc/php/conf.d/memcached.ini')
+source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
+sha256sums=('bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af')
+
+prepare() {
+  cd "$srcdir/memcached-$pkgver"
+
+  # Fix FTBFS with libmemcached >= 1.0.17
+  # https://github.com/php-memcached-dev/php-memcached/issues/69#issuecomment-17051990
+  echo 'typedef const struct memcached_server_st *memcached_server_instance_st;' \
+    >>php_libmemcached_compat.h
+}
+
+build() {
+  cd "$srcdir/memcached-$pkgver"
+
+  phpize
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/memcached-$pkgver"
+
+  make INSTALL_ROOT="$pkgdir" install
+  echo ';extension=memcached.so' >memcached.ini
+  install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-08-03 16:07:39 UTC (rev 95019)
+++ community-x86_64/PKGBUILD	2013-08-03 16:08:14 UTC (rev 95020)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=php-memcached
-pkgver=2.1.0
-pkgrel=1
-pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
-arch=('i686' 'x86_64')
-url="http://pecl.php.net/package/memcached"
-license=('PHP')
-depends=('php' 'libmemcached')
-backup=('etc/php/conf.d/memcached.ini')
-source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
-sha256sums=('bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af')
-
-build() {
-  cd "$srcdir/memcached-$pkgver"
-
-  phpize
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/memcached-$pkgver"
-
-  make INSTALL_ROOT="$pkgdir" install
-  echo ';extension=memcached.so' >memcached.ini
-  install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: php-memcached/repos/community-x86_64/PKGBUILD (from rev 95019, php-memcached/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-08-03 16:08:14 UTC (rev 95020)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-memcached
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/memcached"
+license=('PHP')
+depends=('php' 'libmemcached')
+backup=('etc/php/conf.d/memcached.ini')
+source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
+sha256sums=('bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af')
+
+prepare() {
+  cd "$srcdir/memcached-$pkgver"
+
+  # Fix FTBFS with libmemcached >= 1.0.17
+  # https://github.com/php-memcached-dev/php-memcached/issues/69#issuecomment-17051990
+  echo 'typedef const struct memcached_server_st *memcached_server_instance_st;' \
+    >>php_libmemcached_compat.h
+}
+
+build() {
+  cd "$srcdir/memcached-$pkgver"
+
+  phpize
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/memcached-$pkgver"
+
+  make INSTALL_ROOT="$pkgdir" install
+  echo ';extension=memcached.so' >memcached.ini
+  install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list