blob: 41936112b0252069a11ac48b291bd62aabaf6ca8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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"
|