aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNathan Johnson <nathan@nathanjohnson.info>2016-02-28 11:41:11 -0600
committerTimo Teräs <timo.teras@iki.fi>2016-03-01 06:31:12 +0000
commitcc82b824595013a8bf26fd69a2a5e892d902d633 (patch)
treefc560194693a3d735e4fbdb3f245aba248f24ca7 /testing
parenta13969a54486811b87fd9723aed61a8da578aacd (diff)
downloadaports-cc82b824595013a8bf26fd69a2a5e892d902d633.tar.bz2
aports-cc82b824595013a8bf26fd69a2a5e892d902d633.tar.xz
testing/php-couchbase: new aport
https://pecl.php.net/package/couchbase PHP extension for connecting to a couchbase server.
Diffstat (limited to 'testing')
-rw-r--r--testing/php-couchbase/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/php-couchbase/APKBUILD b/testing/php-couchbase/APKBUILD
new file mode 100644
index 0000000000..cd8971731f
--- /dev/null
+++ b/testing/php-couchbase/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
+# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
+pkgname=php-couchbase
+_pkgreal=couchbase
+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="php-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/php/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/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"