aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-03 10:16:24 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-03 10:16:36 +0000
commit2cf0667ae78bba98aa72daca4d1a4c5d626d8abc (patch)
tree6da65b4ab396d687a55d5ccfb93b8aff089cb8b1
parentbdf55bd4b92467b071b8de4d09df83e0d02c1378 (diff)
downloadaports-2cf0667ae78bba98aa72daca4d1a4c5d626d8abc.tar.bz2
aports-2cf0667ae78bba98aa72daca4d1a4c5d626d8abc.tar.xz
testing/php-memcache: add ini file
-rw-r--r--testing/php-memcache/APKBUILD16
-rw-r--r--testing/php-memcache/mailparse.ini1
-rw-r--r--testing/php-memcache/memcache.ini1
3 files changed, 12 insertions, 6 deletions
diff --git a/testing/php-memcache/APKBUILD b/testing/php-memcache/APKBUILD
index 6862f41434..e57072a091 100644
--- a/testing/php-memcache/APKBUILD
+++ b/testing/php-memcache/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=php-memcache
pkgver=3.0.8
-pkgrel=0
+pkgrel=1
pkgdesc="PHP memcache extension"
url="http://pecl.php.net/package/memcache"
arch="all"
@@ -11,7 +11,8 @@ depends_dev="php-dev"
makedepends="$depends_dev zlib-dev autoconf"
install=""
subpackages=""
-source="http://pecl.php.net/get/memcache-$pkgver.tgz"
+source="http://pecl.php.net/get/memcache-$pkgver.tgz
+ memcache.ini"
_builddir="$srcdir/memcache-$pkgver"
@@ -36,8 +37,13 @@ build() {
package() {
cd "$_builddir"
make INSTALL_ROOT="$pkgdir/" install || return 1
+ install -D -m644 "$srcdir"/memcache.ini \
+ "$pkgdir"/etc/php/conf.d/memcache.ini || return 1
}
-md5sums="24505e9b263d2c77f8ae5e9b4725e7d1 memcache-3.0.8.tgz"
-sha256sums="2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 memcache-3.0.8.tgz"
-sha512sums="916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3 memcache-3.0.8.tgz"
+md5sums="24505e9b263d2c77f8ae5e9b4725e7d1 memcache-3.0.8.tgz
+c0745f8d6fbb64379eb628fd5b4c70cf memcache.ini"
+sha256sums="2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 memcache-3.0.8.tgz
+1b25a4906793955260c8133260d25388546ea819be533427a995002a02a3c0f8 memcache.ini"
+sha512sums="916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3 memcache-3.0.8.tgz
+c067e4dc7ba25b0dc949c80cd6802eb283d6872f75931a9a2f93fed4571c81cb345b1e7c13ab5d2a88e724c01a9529363c020264e9a04d56312ed9173e440f4c memcache.ini"
diff --git a/testing/php-memcache/mailparse.ini b/testing/php-memcache/mailparse.ini
deleted file mode 100644
index cb7ebda6bd..0000000000
--- a/testing/php-memcache/mailparse.ini
+++ /dev/null
@@ -1 +0,0 @@
-extension=mailparse.so
diff --git a/testing/php-memcache/memcache.ini b/testing/php-memcache/memcache.ini
new file mode 100644
index 0000000000..587455f363
--- /dev/null
+++ b/testing/php-memcache/memcache.ini
@@ -0,0 +1 @@
+extension=memcache.so