mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# Contributor: V.Krishn <vkrishn4@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=php-zmq
|
|
pkgver=1.1.2
|
|
pkgrel=0
|
|
pkgdesc="ZeroMQ for PHP"
|
|
url="https://github.com/mkoppanen/php-zmq"
|
|
arch="all"
|
|
license="PHP"
|
|
depends="php"
|
|
makedepends="php-dev autoconf zeromq-dev"
|
|
subpackages=""
|
|
source="saveas-https://github.com/mkoppanen/php-zmq/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
|
|
zmq.ini"
|
|
_builddir="$srcdir/php-zmq-$pkgver"
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
phpize || return 1
|
|
./configure --enable-zmq \
|
|
--with-php-config=/usr/bin/php-config || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make INSTALL_ROOT=$pkgdir install || return 1
|
|
install -D -m644 "$srcdir"/zmq.ini "$pkgdir"/etc/php/conf.d/zmq.ini
|
|
}
|
|
|
|
md5sums="a5d5675bc332a4a2facebbe7c2364ae2 php-zmq-1.1.2.tar.gz
|
|
06f848012c820c6e8e3e6c41b12bc1ce zmq.ini"
|
|
sha256sums="2ae77e90e0ed8112b11e838d6303940bbcae39e8d37683632a299db881bdb217 php-zmq-1.1.2.tar.gz
|
|
873904053be7cd60ed26d1db515dbfc6d12bb832046a685e85777e7276e7e39c zmq.ini"
|
|
sha512sums="88f97707f25849ade4521e5c863b591fa9123e364810d3e1c9f51c15b13324ae9ef747741230a6ec4b6226d73c0e674a760210047dc96e08b46a80d36b2e2338 php-zmq-1.1.2.tar.gz
|
|
4a493427d11eb347c5a25681cc96d7d7cde27af329f688fa5c26aefeae34d85b2211ceb8bdafb807b9d5eca4842d31cbb1af8ca37255474b320174a3935add43 zmq.ini"
|