mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/php7-phalcon: new aport
High performance, full-stack PHP framework delivered as a C extension https://github.com/phalcon/cphalcon https://phalconphp.com
This commit is contained in:
parent
dd36ce32c7
commit
fc673f3172
34
testing/php7-phalcon/APKBUILD
Normal file
34
testing/php7-phalcon/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
||||
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
|
||||
pkgname=php7-phalcon
|
||||
_pkgext=phalcon
|
||||
_pkgreal=cphalcon
|
||||
pkgver=3.3.2
|
||||
_pkgver=${pkgver/_rc/RC}
|
||||
pkgrel=0
|
||||
pkgdesc="High performance, full-stack PHP framework delivered as a C extension"
|
||||
url="https://github.com/phalcon/cphalcon"
|
||||
arch="all"
|
||||
options="!check" # It needs some external services to run checks
|
||||
license="BSD-3-Clause"
|
||||
depends="php7-curl php7-fileinfo php7-gettext php7-json php7-mbstring php7-openssl php7-pdo"
|
||||
makedepends="php7-dev autoconf pcre-dev gd-dev"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/phalcon/$_pkgreal/archive/v$_pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$_pkgver/build/${pkgname%%-*}/safe"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
phpize7
|
||||
./configure --prefix=/usr --with-php-config=/usr/bin/php-config7
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make INSTALL_ROOT="$pkgdir/" install
|
||||
rm -fr "$pkgdir/usr/include"
|
||||
install -d "$pkgdir"/etc/php7/conf.d
|
||||
echo "extension=$_pkgext.so" > "$pkgdir"/etc/php7/conf.d/$_pkgext.ini
|
||||
}
|
||||
|
||||
sha512sums="401be2344312a247a802008fddca9fd4c58b67fb5e726765f063bc00fa1279767e86782e3d055194db5b5a3efa828399e0da7e19f204e6b1e2be00bed4eb8fb5 php7-phalcon-3.3.2.tar.gz"
|
Loading…
Reference in New Issue
Block a user