mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 09:22:07 +01:00
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php83-pecl-phalcon
|
|
_extname=phalcon
|
|
pkgver=5.7.0
|
|
pkgrel=0
|
|
pkgdesc="High performance, full-stack PHP 8.3 framework delivered as a C extension"
|
|
url="https://phalcon.io/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
_phpv=83
|
|
_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="
|
|
6eeddbda7aa9ab381b7d2e66347096789017d7fa07b0f3e01ba385b634d7323c8ea99ee3d1a7d6154c23c8316ca2dad42ff4c7aba2d6902781e26060a0ff5c63 php-phalcon-5.7.0.tgz
|
|
"
|