aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-couchbase
diff options
context:
space:
mode:
authorNathan Johnson <njohnson@ena.com>2016-08-01 15:29:41 -0500
committerJakub Jirutka <jakub@jirutka.cz>2016-08-02 00:56:27 +0200
commit8b0012bcfb0957b14d153da25c57c32308333bf0 (patch)
treee3f8287734496a87d3730068bddf334bc49063dd /testing/php7-couchbase
parent99a531a9641616984efde077cf6c83a6a90d8fd6 (diff)
downloadaports-8b0012bcfb0957b14d153da25c57c32308333bf0.tar.bz2
aports-8b0012bcfb0957b14d153da25c57c32308333bf0.tar.xz
testing/php7-couchbase: update to 2.2.0
Diffstat (limited to 'testing/php7-couchbase')
-rw-r--r--testing/php7-couchbase/APKBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/testing/php7-couchbase/APKBUILD b/testing/php7-couchbase/APKBUILD
index e948431a60..c4b6bf5204 100644
--- a/testing/php7-couchbase/APKBUILD
+++ b/testing/php7-couchbase/APKBUILD
@@ -2,24 +2,20 @@
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=php7-couchbase
_pkgreal=couchbase
-pkgver=2.2.0_beta3
-_pkgrealver=${pkgver/_/}
+pkgver=2.2.0
pkgrel=0
pkgdesc="PHP extension couchbase"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="ASL 2.0"
-depends=
+depends=""
pecldepends="php7-dev autoconf"
makedepends="$pecldepends libcouchbase-dev zlib-dev"
-install=""
-subpackages=""
-source="${pkgname}-${pkgver}.tgz::http://pecl.php.net/get/${_pkgreal}-${_pkgrealver}.tgz"
-
-_builddir="$srcdir"/$_pkgreal-$_pkgrealver
+source="${pkgname}-${pkgver}.tgz::http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
phpize7 || return 1
./configure --prefix=/usr --with-php-config=/usr/bin/php-config7 || return 1
make || return 1
@@ -27,12 +23,12 @@ build() {
}
package() {
- cd "$_builddir"
+ 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="0fec7a685d44948921c48167dffd0d35 php7-couchbase-2.2.0_beta3.tgz"
-sha256sums="f1f73f57790628b4839f1e8a8ee97f40eb19b7e17d6de8462991dc6188d35d36 php7-couchbase-2.2.0_beta3.tgz"
-sha512sums="c80cef205b9fb957f9a5be42a92a749c8ce7dfd4d01638be2441e84e9eb454cf4b28266591378ad07ac7004e798175cdf2455da46d688f702a643705bc7276ea php7-couchbase-2.2.0_beta3.tgz"
+md5sums="2fc38ba46db959daaadd4387579fdab8 php7-couchbase-2.2.0.tgz"
+sha256sums="6ce11f344bd01df7e8b96894ea3db44e72a273633d67f80dbc130147cc161acc php7-couchbase-2.2.0.tgz"
+sha512sums="8c3e01e6c7e9b8509ac8900678a5fc4a47d8dfd0f31979b2a4c86f0a6ce195645dd60c4eff1b36b070cb3d9c78cd63edf7c9f162dc1c505b3e8d365a72cfd1f3 php7-couchbase-2.2.0.tgz"