mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Contributor: viest <dev@service.viest.me>
|
|
# Maintainer: viest <dev@service.viest.me>
|
|
pkgname=php81-pecl-xlswriter
|
|
_extname=xlswriter
|
|
pkgver=1.5.8
|
|
pkgrel=0
|
|
pkgdesc="PHP 8.1 extension for creating and reader XLSX files - PECL"
|
|
url="https://pecl.php.net/package/xlswriter"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
depends="php81-common"
|
|
makedepends="php81-dev zlib-dev"
|
|
source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir"/$_extname-$pkgver
|
|
|
|
build() {
|
|
phpize81
|
|
./configure \
|
|
--enable-reader \
|
|
--prefix=/usr \
|
|
--with-php-config=/usr/bin/php-config81
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
local _confdir="$pkgdir"/etc/php81/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/$_extname.ini
|
|
}
|
|
|
|
sha512sums="
|
|
89e7894d6c4833e4bc7c89cc94528b121bf4c6184db8df848ff392639a2cdbd935bbf5a84b9ebf06206c79712588c30061146458594e5171282c83fbf65e918c php-pecl-xlswriter-1.5.8.tar.gz
|
|
"
|