aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/php-zmq/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/php-zmq/APKBUILD')
-rw-r--r--unmaintained/php-zmq/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/php-zmq/APKBUILD b/unmaintained/php-zmq/APKBUILD
new file mode 100644
index 0000000000..9e6fabba71
--- /dev/null
+++ b/unmaintained/php-zmq/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=php-zmq
+_pkgreal=zmq
+pkgver=1.1.3
+_pkgver=${pkgver/_rc/RC}
+pkgrel=0
+pkgdesc="PHP extension that provides bindings for ZeroMQ messaging"
+url="http://pecl.php.net/package/$_pkgreal"
+arch="all"
+license="PHP"
+depends=
+pecldepends="php-dev autoconf"
+makedepends="$pecldepends zeromq-dev"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$_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
+ install -d "$pkgdir"/etc/php/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+}
+
+md5sums="9c638df5a6347a0fefb0d43d780e6480 zmq-1.1.3.tgz"
+sha256sums="c492375818bd51b355352798fb94f04d6828c6aeda41ba813849624af74144ce zmq-1.1.3.tgz"
+sha512sums="0f03016e315a6c6a1e1d6eca1e20564834d2a924cef06af1b38693933f1e5a094c37e9c432705a64f61d95e82655f61358fc7783e7a6f06c7dd9ad84fc6f7bbc zmq-1.1.3.tgz"