X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id CC88BDC56C0 for ; Mon, 29 Feb 2016 04:20:50 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9F4ECDC140A for ; Mon, 29 Feb 2016 04:20:50 +0000 (UTC) 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 6ADE220C2DB5; Mon, 29 Feb 2016 04:20:49 +0000 (UTC) Received: by abuild.nathanjohnson.info (Postfix, from userid 1001) id 8A1F58005C; Sun, 28 Feb 2016 11:41:15 -0600 (CST) From: Nathan Johnson To: alpine-aports@lists.alpinelinux.org Cc: Nathan Johnson Subject: [alpine-aports] [PATCH] testing/php-couchbase: new aport Date: Sun, 28 Feb 2016 11:41:11 -0600 Message-Id: <1456681271-4870-1-git-send-email-nathan@nathanjohnson.info> X-Mailer: git-send-email 2.6.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://pecl.php.net/package/couchbase PHP extension for connecting to a couchbase server. --- testing/php-couchbase/APKBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 testing/php-couchbase/APKBUILD diff --git a/testing/php-couchbase/APKBUILD b/testing/php-couchbase/APKBUILD new file mode 100644 index 0000000..cf1a18a --- /dev/null +++ b/testing/php-couchbase/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Nathan Johnson +# Maintainer: Nathan Johnson +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 + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +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" -- 2.6.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---