aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php5-couchbase
diff options
context:
space:
mode:
authorNathan Johnson <nathan@nathanjohnson.info>2016-06-07 10:47:46 -0500
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-08 10:47:14 +0200
commit9b82d352c7d50e29550702d1fd59d159cd3b6181 (patch)
tree8f77e6ea58364509ad25bd5caedabc58284b6d35 /testing/php5-couchbase
parent687a1cb70170e2ff80275acb478de3bb1c08278e (diff)
downloadaports-9b82d352c7d50e29550702d1fd59d159cd3b6181.tar.bz2
aports-9b82d352c7d50e29550702d1fd59d159cd3b6181.tar.xz
testing/php5-couchbase renamed from php-couchbase
Also moving config from /etc/php/conf.d to /etc/php5/conf.d
Diffstat (limited to 'testing/php5-couchbase')
-rw-r--r--testing/php5-couchbase/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/php5-couchbase/APKBUILD b/testing/php5-couchbase/APKBUILD
new file mode 100644
index 0000000000..f0b4952c99
--- /dev/null
+++ b/testing/php5-couchbase/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
+# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
+pkgname=php5-couchbase
+_pkgreal=couchbase
+replaces=php-couchbase
+replaces_priority=1
+pkgver=2.1.0
+pkgrel=0
+pkgdesc="PHP extension couchbase"
+url="http://pecl.php.net/package/$_pkgreal"
+arch="all"
+license="ASL 2.0"
+depends=
+pecldepends="php5-dev autoconf"
+makedepends="$pecldepends libcouchbase-dev zlib-dev"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$pkgver
+
+build() {
+ cd "$_builddir"
+ phpize || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir"/ install || return 1
+ install -d "$pkgdir"/etc/php5/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php5/conf.d/$_pkgreal.ini
+}
+
+md5sums="1ee53916bd2e1247882be0ccaf440857 couchbase-2.1.0.tgz"
+sha256sums="30eda3f5afd0d9f4c77b12650163c3490de111e57ad6b20092c95e44e3d60a8d couchbase-2.1.0.tgz"
+sha512sums="39dabf34d03dc476c0092d05355fc7446506d40a06e8d1b999b54dfe3181200b8bd039e2087456deb7263f7cec9dc93f6541a33510fac5b586e24fe68973dc36 couchbase-2.1.0.tgz"