Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/php7-redis: PHP7 Redis package

From: Fabio da Silva Ribeiro <silva.ribeiro_at_dafiti.com.br>
Date: Sat, 19 Mar 2016 10:18:29 -0300

---
 testing/php7-redis/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/php7-redis/APKBUILD
diff --git a/testing/php7-redis/APKBUILD b/testing/php7-redis/APKBUILD
new file mode 100644
index 0000000..1c89fc3
--- /dev/null
+++ b/testing/php7-redis/APKBUILD
_at_@ -0,0 +1,38 @@
+# Contributor: Fabio Ribeiro <fabiorphp_at_gmail.com>
+# Maintainer: Fabio Ribeiro <fabiorphp_at_gmail.com>
+pkgname=php7-redis
+_pkgreal=redis
+_pkgrepo=phpredis
+_pkgbranch=php7
+pkgver=2.2.8
+pkgrel=0
+pkgdesc="PHP extension for interfacing with Redis (Dev PHP7)"
+url="https://github.com/$_pkgrepo/$_pkgrepo/tree/$_pkgbranch"
+arch="x86_64 armhf"
+license="PHP"
+depends=
+pecldepends="php7-dev autoconf"
+makedepends="$pecldepends"
+install=""
+subpackages=""
+source="https://github.com/$_pkgrepo/$_pkgrepo/archive/$_pkgbranch.tar.gz"
+
+_builddir="$srcdir"/$_pkgrepo-$_pkgbranch
+
+build() {
+	cd "$_builddir"
+	phpize7 || return 1
+	./configure --prefix=/usr --with-php-config=php-config7 || return 1
+	make || return 1
+}
+
+package() {
+	cd "$_builddir"
+	make INSTALL_ROOT="$pkgdir"/ install || return 1
+	install -d "$pkgdir"/etc/php7/conf.d || return 1
+	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
+}
+
+md5sums="6c47b6722d2970267e0f6b4f85cff675  php7.tar.gz"
+sha256sums="9304805acbe5d7c9b4378279b27297bf1bddb96a66541c5e4b2fe22ffa2297f0  php7.tar.gz"
+sha512sums="3c943d21d305dfa8db6c56760031ac2e0de26a6282de0ddbbd61926cb336c76160d3533087fa0198c45b3fb72fb2e9eae5d95189cb2dcace52861ce1a596b10f  php7.tar.gz"
-- 
2.1.4
-- 
***
Esta mensagem, incluindo seus anexos, pode conter informações confidenciais 
e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta 
mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou 
tomar qualquer ação baseada nessas informações. Caso esta mensagem tenha 
sido recebida por engano, por favor avise imediatamente o remetente, 
respondendo o e-mail e em seguida elimine-a do seu sistema. Agradecemos sua 
cooperação.
This message, including any attachments, may contain confidential and/or 
privileged information. If you are not the addressee or authorized to 
receive this for the addressee, you must not use, copy, disclose or take 
any action based on this message or any information herein. If you have 
received this message in error, please advise the sender immediately by 
reply e-mail and delete this message.Thank you for your cooperation
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Mar 19 2016 - 10:18:29 GMT