mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php81-pecl-phalcon
|
|
_extname=phalcon
|
|
pkgver=5.2.1
|
|
pkgrel=0
|
|
pkgdesc="High performance, full-stack PHP 8.1 framework delivered as a C extension"
|
|
url="https://phalcon.io/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
_phpv=81
|
|
_php=php$_phpv
|
|
depends="
|
|
$_php-curl
|
|
$_php-fileinfo
|
|
$_php-gettext
|
|
$_php-mbstring
|
|
$_php-openssl
|
|
$_php-pdo
|
|
$_php-session
|
|
$_php-pecl-psr
|
|
"
|
|
makedepends="$_php-dev"
|
|
source="php-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir/$_extname-$pkgver"
|
|
|
|
build() {
|
|
phpize$_phpv
|
|
./configure --prefix=/usr --with-php-config=/usr/bin/php-config$_phpv
|
|
make
|
|
}
|
|
|
|
check() {
|
|
# no tests provided
|
|
$_php -d extension=modules/$_extname.so --ri $_extname
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
local _confdir="$pkgdir"/etc/$_php/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/$_extname.ini
|
|
}
|
|
|
|
sha512sums="
|
|
ec14fc80dfbddc22e9b024f6f4185641285446b640ef5438053d1228c2067b7f2900785d75f506d1c7d7c70b5c15a79c9d9e88a9fe17f3e801b06e7972cac6a1 php-phalcon-5.2.1.tgz
|
|
"
|