mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/php-phalcon: new aport
Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption. http://phalconphp.com/en/
This commit is contained in:
parent
77562b884d
commit
cde291301b
13
testing/php-phalcon/10.cphalcon.patch
Normal file
13
testing/php-phalcon/10.cphalcon.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/build/install b/build/install
|
||||
index a0bc399..514bce7 100755
|
||||
--- a/build/install
|
||||
+++ b/build/install
|
||||
@@ -61,4 +61,7 @@ if [ -f Makefile ]; then
|
||||
fi
|
||||
|
||||
#Perform the compilation
|
||||
-phpize && ./configure --enable-phalcon && make && make install && echo -e "\nThanks for compiling Phalcon!\nBuild succeed: Please restart your web server to complete the installation"
|
||||
+# phpize && ./configure --enable-phalcon && make && make install && echo -e "\nThanks for compiling Phalcon!\nBuild succeed: Please restart your web server to complete the installation"
|
||||
+export PHALCONARCH="$DIR"
|
||||
+phpize && ./configure --enable-phalcon && make
|
||||
+
|
||||
53
testing/php-phalcon/APKBUILD
Normal file
53
testing/php-phalcon/APKBUILD
Normal file
@ -0,0 +1,53 @@
|
||||
# Contributor: V.Krishn <vkrishn4@gmail.com>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=php-phalcon
|
||||
pkgver=1.3.4
|
||||
pkgrel=0
|
||||
pkgdesc="Web framework delivered as a C-extension for PHP"
|
||||
url="https://github.com/phalcon/cphalcon"
|
||||
arch="all"
|
||||
license="PHP"
|
||||
depends="php php-pdo php-json"
|
||||
makedepends="php-dev autoconf grep sed pcre-dev gawk re2c"
|
||||
subpackages=""
|
||||
source="saveas-https://github.com/phalcon/cphalcon/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
|
||||
phalcon.ini
|
||||
10.cphalcon.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir/cphalcon-$pkgver"
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch)
|
||||
msg "Applying $i"
|
||||
patch -p1 -i "$srcdir"/$i || return 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir/build"
|
||||
source ./install
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir/build/$PHALCONARCH"
|
||||
make INSTALL_ROOT=$pkgdir install || return 1
|
||||
install -D -m644 "$srcdir"/phalcon.ini "$pkgdir"/etc/php/conf.d/phalcon.ini
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
md5sums="431d446929338667c72eb4fa2383b0e9 php-phalcon-1.3.4.tar.gz
|
||||
4ff799a0f333728c44b7e7cf38af8d98 phalcon.ini
|
||||
12112063b1b10e2257a3763fa21e216f 10.cphalcon.patch"
|
||||
sha256sums="ed23e7e04f127227aa8995e382b7cf5e398ac9db4660a8b66fd0a95db437a449 php-phalcon-1.3.4.tar.gz
|
||||
e8a4178c51f104e28c6d79737b8e240cb35c3b96501ed5a866b9da3ff298d39c phalcon.ini
|
||||
919eea78cee4d7f879d3dedd819453a0dd3304f6b0eea6e08ccee240fbb795c8 10.cphalcon.patch"
|
||||
sha512sums="415539c7f779c837ae8ec3f07a777c02e54a4b7a44c8af4fd7f47165417a69be4a1a0fd0be08ec89b2257b5fb660050caeea688d873427813adb51f92897d59a php-phalcon-1.3.4.tar.gz
|
||||
559daf31ccc73184ebd27f17088ee8b336015c391baa21c707cf2cca999f9737bf80d224467af74b5049019ae7f222235fcfec07391fede2e25becfad4fcf5a1 phalcon.ini
|
||||
4877319bb79ddd8e52cdbd984a0d00199241406d73228c229a2430148653f6d5ef36c036d60ea7e661f2a46ed3e0bc747cf0bccbbbef24cc798700cfc39d5b3c 10.cphalcon.patch"
|
||||
3
testing/php-phalcon/phalcon.ini
Normal file
3
testing/php-phalcon/phalcon.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[phalcon]
|
||||
extension=phalcon.so
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user