X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from st11p00mm-asmtp002.mac.com (st11p00mm-asmtpout002.mac.com [17.172.81.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D8563DC070D for ; Wed, 18 Mar 2015 14:48:33 +0000 (UTC) Received: from st.ilet.to (weisshorn.alpinelinux.uk [31.193.133.175]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NLE00E54X4QUO00@st11p00mm-asmtp002.mac.com> for alpine-devel@lists.alpinelinux.org; Wed, 18 Mar 2015 14:48:31 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-18_05:2015-03-18,2015-03-18,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1503180138 Date: Wed, 18 Mar 2015 14:48:26 +0000 (GMT) From: ScrumpyJack X-X-Sender: nicholas@st.ilet.to To: Alpine Devel List Subject: [alpine-devel] [PATCH] testing/phpredis: new aport Message-id: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII The phpredis extension provides an API for communicating with the Redis key-value store https://github.com/phpredis/phpredis --- testing/phpredis/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/phpredis/APKBUILD diff --git a/testing/phpredis/APKBUILD b/testing/phpredis/APKBUILD new file mode 100644 index 0000000..e63f7ef --- /dev/null +++ b/testing/phpredis/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: ScrumpyJack +# Maintainer: +pkgname=phpredis +pkgver=2.2.7 +pkgrel=0 +pkgdesc="The phpredis extension provides an API for communicating with the Redis key-value store" +url="https://github.com/phpredis/phpredis" +arch="all" +license="PHP" +depends="" +depends_dev="" +makedepends="php-dev autoconf" +install="" +subpackages="" +source="https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz" + +_builddir=${srcdir}/${pkgname}-${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 + ./configure +} + +package() { + cd "$_builddir" + make || return 1 + make INSTALL_ROOT=$pkgdir install || return 1 +} + +md5sums="f10bada46b6e1a15eac613df4f298f51 2.2.7.tar.gz" +sha256sums="a5882dd9b21908e123b3d5c5f72d6dc8cbbbb6a29996e568c4d18ed356c0362b 2.2.7.tar.gz" +sha512sums="eddca71c76fc39f46a316ac204521f352cba30cb2999a7b91fe907bdb0f17e287be025df2f7c3b7115790b1c2a781c162b32c77d29daf30b246bd4d163e5404e 2.2.7.tar.gz" -- 2.3.2 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---