diff options
author | TBK <tbk@jjtc.dk> | 2018-03-22 01:51:54 +0100 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-03-31 01:51:45 +0300 |
commit | 2a7c4929a55ef47f72fe49f9c1aa62c29857557d (patch) | |
tree | 96ab8f2a6f6d10d30c38313ea4a3bf586dd6d836 /unmaintained | |
parent | 14cda82423cfceabc2efa8baf426c45c4b3a75f2 (diff) | |
download | aports-2a7c4929a55ef47f72fe49f9c1aa62c29857557d.tar.bz2 aports-2a7c4929a55ef47f72fe49f9c1aa62c29857557d.tar.xz |
unmaintained/php7-cassandra: tmp move from testing
The company behind this extension is working on a fix for PHP7.2 compatibility in a non public repo.
https://datastax-oss.atlassian.net/projects/PHP/issues/PHP-221
So until that work has been published php7-cassandra will have to be removed from edge.
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/php7-cassandra/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/php7-cassandra/APKBUILD b/unmaintained/php7-cassandra/APKBUILD new file mode 100644 index 0000000000..20a9263c96 --- /dev/null +++ b/unmaintained/php7-cassandra/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Gennady Feldman <gena01@gmail.com> +# Maintainer: Gennady Feldman <gena01@gmail.com> +pkgname=php7-cassandra +_pkgreal=cassandra +pkgver=1.3.2 +pkgrel=0 +pkgdesc="PHP7 extension: cassandra" +url="http://pecl.php.net/package/$_pkgreal" +arch="x86_64 x86 ppc64le" +license="PHP" +depends="" +makedepends="php7-dev autoconf cassandra-cpp-driver-dev>=2.4.2 gmp-dev libuv-dev pcre-dev" +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=/usr/bin/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 +} + +sha512sums="2b3605f24e81b247afa5ea6bb8e1d1c24216a281babfbd750b973fb2094c864a3d45c7769c759bfe2f3f31360766a5b2eb1ff0ee4414ec9a9e9c5f164748242a cassandra-1.3.2.tgz" |