Commit 8601fe37 authored by Andy Postnikov's avatar Andy Postnikov

testing/php7-pecl-seaslog: upgrade to 2.1.0

parent 4d91b4b2
# Contributor: viest <dev@service.viest.me>
# Maintainer: Chitao.Gao <neeke@php.net>
pkgname="php7-pecl-seaslog"
_pkgreal=SeasLog
pkgver="2.0.2"
pkgname=php7-pecl-seaslog
_pkgreal=seaslog
pkgver=2.1.0
pkgrel=0
pkgdesc="An effective, fast, stable log extension for PHP."
url="https://pecl.php.net/package/SeasLog"
arch="all"
license="PHP-3.01"
depends="php7-common"
makedepends="php7-dev"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir"/$_pkgreal-$pkgver
depends="php7-json"
makedepends="php7-dev re2c"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/SeasLog-$pkgver.tgz"
builddir="$srcdir"/SeasLog-$pkgver
# FIXME: on s390x 10 tests broken https://github.com/SeasX/SeasLog/issues/292
case "$CARCH" in
s390x) options="$options !check";;
esac
build() {
phpize7
./configure \
--prefix=/usr \
--with-php-config=/usr/bin/php-config7
make
phpize7
./configure \
--prefix=/usr \
--with-php-config=/usr/bin/php-config7
make
}
check() {
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test \
PHP_TEST_SHARED_EXTENSIONS=" \
-d extension=/usr/lib/php7/modules/json.so \
-d extension=modules/$_pkgreal.so"
php7 -d extension="$builddir"/modules/$_pkgreal.so --ri $_pkgreal
}
package() {
make INSTALL_ROOT="$pkgdir/" install
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
make INSTALL_ROOT="$pkgdir/" install
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
}
sha512sums="bc1dc5855461c510edfe2a4cb50cee18b98b8063bbd07957300842073530cd7deae54e3c062ca175e11df9108dde4341cc75ba78376a3b95516509a9c2a0beae php7-pecl-seaslog-2.0.2.tar.gz"
sha512sums="f9342cda45b302f4bb8292a914f13df056ac3c6e23b54a99054df8c6387bcffa7e5787c56b32e48024720b5007af7e96a25dd7e3d842e171cef95576a674ff2e php7-pecl-seaslog-2.1.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment