X-Original-To: alpine-aports@lists.alpinelinux.org Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by lists.alpinelinux.org (Postfix) with ESMTP id 7B4DA5C40FF for ; Wed, 8 Jun 2016 00:02:53 +0000 (GMT) Received: from abuild.nathanjohnson.info (c-71-236-42-116.hsd1.tn.comcast.net [71.236.42.116]) by smtp.webfaction.com (Postfix) with ESMTP id D877D20ECDE9; Wed, 8 Jun 2016 00:02:52 +0000 (UTC) Received: by abuild.nathanjohnson.info (Postfix, from userid 1001) id 267458005C; Tue, 7 Jun 2016 18:57:57 -0500 (CDT) From: Nathan Johnson To: alpine-aports@lists.alpinelinux.org Cc: Nathan Johnson Subject: [alpine-aports] [PATCH 2/2] testing/php7-couchbase: new aport Date: Tue, 7 Jun 2016 18:57:55 -0500 Message-Id: <20160607235755.1084-2-nathan@nathanjohnson.info> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160607235755.1084-1-nathan@nathanjohnson.info> References: <20160607235755.1084-1-nathan@nathanjohnson.info> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This is 2.2 beta3 release. Requires libcouchbase 2.6.0 --- testing/php7-couchbase/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/php7-couchbase/APKBUILD diff --git a/testing/php7-couchbase/APKBUILD b/testing/php7-couchbase/APKBUILD new file mode 100644 index 0000000..e948431 --- /dev/null +++ b/testing/php7-couchbase/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Nathan Johnson +# Maintainer: Nathan Johnson +pkgname=php7-couchbase +_pkgreal=couchbase +pkgver=2.2.0_beta3 +_pkgrealver=${pkgver/_/} +pkgrel=0 +pkgdesc="PHP extension couchbase" +url="http://pecl.php.net/package/$_pkgreal" +arch="all" +license="ASL 2.0" +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 + +build() { + cd "$_builddir" + phpize7 || return 1 + ./configure --prefix=/usr --with-php-config=/usr/bin/php-config7 || 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="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" -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---