mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-11 16:43:12 +01:00
32 lines
993 B
Plaintext
32 lines
993 B
Plaintext
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=php7-protobuf
|
|
_pkgreal=protobuf
|
|
pkgver=3.7.0
|
|
pkgrel=0
|
|
pkgdesc="PHP7 extension: Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data."
|
|
url="https://pecl.php.net/package/protobuf"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
options="!check" # Test suite is not part of pecl release.
|
|
depends="php7-common"
|
|
makedepends="php7-dev autoconf libtool"
|
|
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
phpize7
|
|
./configure --prefix=/usr --with-php-config=php-config7
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
install -d "$pkgdir"/etc/php7/conf.d
|
|
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
|
|
}
|
|
|
|
sha512sums="8b2772c9b1c0ecd767b4bf0782f1e852c3973c9e436f8cc49857cd277828f972c5db8c8b1d80b6a1b39ddd56e898331d7ee61d101b10577b476f1500f1764098 protobuf-3.7.0.tgz"
|