diff options
author | TBK <tbk@jjtc.dk> | 2018-04-12 01:36:46 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-04-14 02:52:42 +0300 |
commit | b4b03e271c2cec0efc7341659cc5f8dad1e22786 (patch) | |
tree | d9b4d5d645201c15eee60e7265244c483530f417 | |
parent | de90ba21678b11c6d06f5a111dde513f3ff5de92 (diff) | |
download | aports-b4b03e271c2cec0efc7341659cc5f8dad1e22786.tar.bz2 aports-b4b03e271c2cec0efc7341659cc5f8dad1e22786.tar.xz |
testing/php7-protobuf: new aport
-rw-r--r-- | testing/php7-protobuf/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/php7-protobuf/APKBUILD b/testing/php7-protobuf/APKBUILD new file mode 100644 index 0000000000..40268119ac --- /dev/null +++ b/testing/php7-protobuf/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: TBK <alpine@jjtc.eu> +# Maintainer: TBK <alpine@jjtc.eu> +pkgname=php7-protobuf +_pkgreal=protobuf +pkgver=3.5.1.1 +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="0be99fe15fc6ab7cd14e1d1e0749ab9df64ef1b6ad016157a578a03edb299f1f1f56200d5c8e4c50db72faa096b154deda5d93f86812d18c13b56aedfb5f227b protobuf-3.5.1.1.tgz" |