mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
|
|
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
|
|
pkgname=php7-msgpack
|
|
_pkgreal=msgpack
|
|
pkgver=2.0.2
|
|
pkgrel=1
|
|
pkgdesc="This extension provide API for communicating with MessagePack serialization."
|
|
url="http://pecl.php.net/package/$_pkgreal"
|
|
arch="all"
|
|
license="PHP"
|
|
depends="php7-session"
|
|
makedepends="php7-dev autoconf"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
|
|
|
|
builddir="$srcdir"/$_pkgreal-$pkgver
|
|
|
|
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/50_$_pkgreal.ini
|
|
}
|
|
|
|
md5sums="02f7e109d438072c4b642b01cf78533e msgpack-2.0.2.tgz"
|
|
sha256sums="b04980df250214419d9c3d9a5cb2761047ddf5effe5bc1481a19fee209041c01 msgpack-2.0.2.tgz"
|
|
sha512sums="8168d3836a8ce3a0f6ed5cc25b43f3cf3462f1da63c37a90eb366f7a65a3261779d800be0de4cc486684ba3fb3638f9c028368e4b9dc1c81e0ba976906ee0b38 msgpack-2.0.2.tgz"
|