# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=php-zmq _pkgreal=zmq pkgver=1.1.2 _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="74da2fc1aa83e6fa27acffb9a37596b9 zmq-1.1.2.tgz" sha256sums="c9b0af56826fc5e1a95a0fef25e671d9839a421d79e174931faacd8bee389f31 zmq-1.1.2.tgz" sha512sums="603448a3bc2851b945a2c0c9e85c6eb50d6e44e1cfdfef9e4ff5ba675c15c23d7c3e06fa6234e9dc50f4c6a54098a9e60f5b8b0718f7f16657f0a72368dae987 zmq-1.1.2.tgz"