blob: 642f1cd296278a4bcea219b38bb96ffc3a6d97c4 (
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
40
41
|
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-memcached
_pkgreal=memcached
_pkgrepo=php-memcached
_pkgbranch=php7
pkgver=3.0.0b1
pkgrel=0
pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
url="https://github.com/$_pkgrepo-dev/$_pkgrepo/tree/$_pkgbranch"
arch="all"
license="PHP"
depends=
pecldepends="php7-dev autoconf zlib-dev"
makedepends="$pecldepends libmemcached-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/$_pkgrepo-dev/$_pkgrepo/archive/$_pkgbranch.tar.gz"
builddir="$srcdir"/$_pkgrepo-$_pkgbranch
build() {
cd "$builddir"
phpize7 || return 1
./configure \
--prefix=/usr \
--disable-memcached-sasl \
--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/$_pkgreal.ini
}
md5sums="180153447695701d312316a466658918 php7-memcached-3.0.0b1.tar.gz"
sha256sums="22b00c65301bb4bfc7b44280f2c6a34f4f01e40bf8b74bf8397705dfac00acd9 php7-memcached-3.0.0b1.tar.gz"
sha512sums="b670ee0c6232ed0533c07a0a48ac60f51377d15897481b24117e3aea68171460cbd791a2ed3e2b1b11e654ea5bfb0f5eb98c92ef042c72f44e6628056ad90b19 php7-memcached-3.0.0b1.tar.gz"
|