summaryrefslogtreecommitdiffstats
path: root/testing/php-memcache
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-19 11:16:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-19 11:16:29 +0000
commit9e9254edf90750eec3fd9d269e6a1c29e2882e46 (patch)
treeb95c65d0344083246c21faf5e7402005f5045d71 /testing/php-memcache
parent36450f04160a5dfef58eb88557c039d9536f4e53 (diff)
downloadaports-9e9254edf90750eec3fd9d269e6a1c29e2882e46.tar.bz2
aports-9e9254edf90750eec3fd9d269e6a1c29e2882e46.tar.xz
testing/php-memcache: new aport
PHP memcache extension http://pecl.php.net/package/memcache ref #1788
Diffstat (limited to 'testing/php-memcache')
-rw-r--r--testing/php-memcache/APKBUILD43
-rw-r--r--testing/php-memcache/mailparse.ini1
2 files changed, 44 insertions, 0 deletions
diff --git a/testing/php-memcache/APKBUILD b/testing/php-memcache/APKBUILD
new file mode 100644
index 000000000..6862f4143
--- /dev/null
+++ b/testing/php-memcache/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=php-memcache
+pkgver=3.0.8
+pkgrel=0
+pkgdesc="PHP memcache extension"
+url="http://pecl.php.net/package/memcache"
+arch="all"
+license="PHP"
+depends=
+depends_dev="php-dev"
+makedepends="$depends_dev zlib-dev autoconf"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/memcache-$pkgver.tgz"
+
+_builddir="$srcdir/memcache-$pkgver"
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ phpize || return 1
+ ./configure --prefix=/usr \
+ --enable-memcache || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir/" install || return 1
+}
+
+md5sums="24505e9b263d2c77f8ae5e9b4725e7d1 memcache-3.0.8.tgz"
+sha256sums="2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 memcache-3.0.8.tgz"
+sha512sums="916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3 memcache-3.0.8.tgz"
diff --git a/testing/php-memcache/mailparse.ini b/testing/php-memcache/mailparse.ini
new file mode 100644
index 000000000..cb7ebda6b
--- /dev/null
+++ b/testing/php-memcache/mailparse.ini
@@ -0,0 +1 @@
+extension=mailparse.so