mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/php81-pecl-xlswriter: new aport
This commit is contained in:
parent
c9083db7b9
commit
8a190cea30
38
testing/php81-pecl-xlswriter/APKBUILD
Normal file
38
testing/php81-pecl-xlswriter/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: viest <dev@service.viest.me>
|
||||
# Maintainer: viest <dev@service.viest.me>
|
||||
pkgname=php8-pecl-xlswriter
|
||||
_extname=xlswriter
|
||||
pkgver=1.5.2
|
||||
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="
|
||||
cd218341c8247fff9823056f197dd0d5273a14c4ff66e0ebda4a77d5a7458389cd3eaf11ad9664732fb2636f57f948848cf5cb31daa35f97d9650db1d010e73d php-pecl-xlswriter-1.5.2.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user