Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/php7-mongodb: PHP7 MongoDB Driver

From: Fabio da Silva Ribeiro <silva.ribeiro_at_dafiti.com.br>
Date: Fri, 11 Mar 2016 15:23:44 -0300

---
 testing/php7-mongodb/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/php7-mongodb/APKBUILD
diff --git a/testing/php7-mongodb/APKBUILD b/testing/php7-mongodb/APKBUILD
new file mode 100644
index 0000000..72e7347
--- /dev/null
+++ b/testing/php7-mongodb/APKBUILD
_at_@ -0,0 +1,38 @@
+# Contributor: Fabio Ribeiro <fabiorphp_at_gmail.com>
+# Maintainer: Fabio Ribeiro <fabiorphp_at_gmail.com>
+pkgname=php7-mongodb
+_pkgreal=mongodb
+pkgver=1.1.4
+_pkgver=${pkgver/_rc/RC}
+pkgrel=0
+pkgdesc="PHP7 MongoDB driver"
+url="http://pecl.php.net/package/mongodb"
+arch="x86_64 armhf"
+license="PHP"
+depends="openssl-dev"
+pecldepends="php7-dev autoconf"
+makedepends="$pecldepends"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$_pkgver
+build() {
+	cd "$_builddir"
+	phpize7 || return 1
+	./configure --prefix=/usr \
+		--with-php-config=/usr/bin/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="065b4472562d64e300f6c08442865df2  mongodb-1.1.4.tgz"
+sha256sums="c6aee3b480d2e53b95ce9f4838c08d3f19722fccdb68c57ca11869cad4c3ff8a  mongodb-1.1.4.tgz"
+sha512sums="ccf14a880244c24cbab3c339f73c8e521c3d3974d07aca992dd45b4c0a548da384ca82b17aceb9a634ac74b9b8c2d2f8b386488472b4ee9ee419d299faf97488  mongodb-1.1.4.tgz"
-- 
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 Fri Mar 11 2016 - 15:23:44 GMT