X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.infogroup.kiev.ua (tera.infogroup.kiev.ua [195.144.25.26]) by lists.alpinelinux.org (Postfix) with ESMTP id 8D6C25C4475 for ; Mon, 28 Nov 2016 22:57:03 +0000 (GMT) Received: from ost.org.ua ([195.144.25.230] helo=alpine.ost.org.ua) by mail.infogroup.kiev.ua with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1cBUr8-0003sP-O4 for alpine-aports@lists.alpinelinux.org; Tue, 29 Nov 2016 00:57:02 +0200 From: Valery Kartel To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 3/4] testing/php5-couchbase: new aport Date: Tue, 29 Nov 2016 00:57:02 +0200 Message-Id: <20161128225702.32697-1-valery.kartel@gmail.com> X-Mailer: git-send-email 2.10.2 Sender: droid@infogroup.kiev.ua X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/php5-couchbase/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/php5-couchbase/APKBUILD diff --git a/testing/php5-couchbase/APKBUILD b/testing/php5-couchbase/APKBUILD new file mode 100644 index 0000000..2639e3c --- /dev/null +++ b/testing/php5-couchbase/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Nathan Johnson +# Maintainer: Nathan Johnson +pkgname=php5-couchbase +pkgver=2.2.3 +pkgrel=2 +_pkgver=${pkgver/_rc/RC} +_pkgname=${pkgname#*-} +pkgdesc="The PHP client library provides fast access to documents stored in a Couchbase Server" +url="http://pecl.php.net/package/$_pkgname" +arch="all" +license="ASL-2.0" +depends="" +makedepends="${pkgname%%-*}-dev autoconf libcouchbase-dev zlib-dev" +source="http://pecl.php.net/get/$_pkgname-$_pkgver.tgz" +builddir="$srcdir"/$_pkgname-$_pkgver + +build() { + cd "$builddir" + phpize || return 1 + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir"/ install || return 1 + echo "extension=$_pkgname.so" > $_pkgname.ini + install -Dm644 $_pkgname.ini \ + "$pkgdir"$(php-config | xargs -n1 | grep config-file-scan-dir | cut -d= -f2)/$_pkgname.ini +} + +md5sums="f58ee1596ade978832f033f2e1662579 couchbase-2.2.3.tgz" +sha256sums="5c998e9c98e51a783a5d74ec36aa6ac740a4a958dd8c206ed9e9d1580234907f couchbase-2.2.3.tgz" +sha512sums="d1feeb33a8ce450919731d17f84b170eaa68da104cedfe8ffa56f4e2e6062e250077d00babaca4872cc5bf271509daee2ca83e35cfb4b8ceef4b402cc20c1bf3 couchbase-2.2.3.tgz" -- 2.10.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---