mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
testing/php81-pecl-lzf: new aport
This commit is contained in:
parent
94b3e79c0d
commit
29aba41851
36
testing/php81-pecl-lzf/APKBUILD
Normal file
36
testing/php81-pecl-lzf/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
|
||||
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
||||
pkgname=php81-pecl-lzf
|
||||
_pkgreal=LZF
|
||||
_extname=lzf
|
||||
pkgver=1.7.0
|
||||
pkgrel=0
|
||||
pkgdesc="PHP 8.1 extension handles LZF de/compression - PECL"
|
||||
url="https://pecl.php.net/package/LZF"
|
||||
arch="all"
|
||||
license="PHP-3.01"
|
||||
depends="php81-common"
|
||||
makedepends="php81-dev"
|
||||
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
|
||||
builddir="$srcdir"/$_pkgreal-$pkgver
|
||||
|
||||
build() {
|
||||
phpize81
|
||||
./configure --prefix=/usr --with-php-config=php-config81
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
|
||||
}
|
||||
|
||||
package() {
|
||||
make INSTALL_ROOT="$pkgdir"/ install
|
||||
local _confdir="$pkgdir"/etc/php81/conf.d
|
||||
install -d $_confdir
|
||||
echo "extension=$_extname" > $_confdir/50_$_pkgreal.ini
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
76a2bce7aa44f9aae40345f37c9294626d453879c7f98099ad6c31ae32abc638233934bf22ddd9bc0d4a6d285b25aa06dedc175ad5bb1544884a272e6b031ced php-pecl-lzf-1.7.0.tgz
|
||||
"
|
Loading…
x
Reference in New Issue
Block a user