blob: 59d3824eaa137083617cc9effb41c7d1d7f58d1c (
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
37
38
39
|
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-redis
_pkgreal=redis
_pkgrepo=phpredis
pkgver=3.0.0
# There's no tag for php7 variant; this is SHA of the commit in the php7 branch
# with version bump.
_pkgrev=64479400a0b3c7b8b006e5de905836e4d764a763
pkgrel=1
pkgdesc="PHP extension for interfacing with Redis (Dev PHP7)"
url="https://github.com/$_pkgrepo/$_pkgrepo/tree/php7"
arch="x86_64 armhf"
license="PHP"
depends="php7-session"
pecldepends="php7-dev autoconf"
makedepends="$pecldepends"
install=""
subpackages=""
source="$_pkgrepo-$_pkgrev.tar.gz::https://github.com/$_pkgrepo/$_pkgrepo/archive/$_pkgrev.tar.gz"
builddir="$srcdir/$_pkgrepo-$_pkgrev"
build() {
cd "$builddir"
phpize7 || return 1
./configure --prefix=/usr --with-php-config=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/20_$_pkgreal.ini
}
md5sums="b9715c6b71e1461e06f42d52aa9d3672 phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
sha256sums="b1dd5138030ee7dfb71e15b6a08f7fae7f757c1b04797eeb409a142c6a2cc400 phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
sha512sums="9ab5efbf2cd87a2ce7fca7088001951bd07ab85ceafff4953af4994086f5934eb36b19763045bb85d479432cd0803254202072faaf11fbdccec82a7c4a8d2c18 phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
|