aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-pecl-seaslog
diff options
context:
space:
mode:
authorviest <dev@service.viest.me>2019-10-23 10:52:31 +0800
committerAndy Postnikov <apostnikov@gmail.com>2019-10-24 22:54:26 +0300
commit0db011828bfc688e72dcd77b8c2804b1e899d3bf (patch)
treec731c94a100fed1ec7f3e173f76d4b0d8b12441c /testing/php7-pecl-seaslog
parentca43f7e226811a10fa1196b24e2c6b6608ef0c7f (diff)
downloadaports-0db011828bfc688e72dcd77b8c2804b1e899d3bf.tar.bz2
aports-0db011828bfc688e72dcd77b8c2804b1e899d3bf.tar.xz
testing/php7-pecl-seaslog: new aport
http://pecl.php.net/package/SeasLog An effective,fast,stable log extension for PHP.
Diffstat (limited to 'testing/php7-pecl-seaslog')
-rw-r--r--testing/php7-pecl-seaslog/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/php7-pecl-seaslog/APKBUILD b/testing/php7-pecl-seaslog/APKBUILD
new file mode 100644
index 0000000000..98a3167519
--- /dev/null
+++ b/testing/php7-pecl-seaslog/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: viest <dev@service.viest.me>
+# Maintainer: Chitao.Gao <neeke@php.net>
+pkgname="php7-pecl-seaslog"
+_pkgreal=SeasLog
+pkgver="2.0.2"
+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
+
+build() {
+ phpize7
+ ./configure \
+ --prefix=/usr \
+ --with-php-config=/usr/bin/php-config7
+ make
+}
+
+check() {
+ make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
+}
+
+package() {
+ 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"