Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] phalcon 4.1.0 requires psr
@ 2020-11-01 12:20 betrixed
  2020-11-02 16:34 ` Chocimier
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: betrixed @ 2020-11-01 12:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

There is a new pull request by betrixed against master on the void-packages repository

https://github.com/betrixed/void-packages master
https://github.com/void-linux/void-packages/pull/26038

phalcon 4.1.0 requires psr
xbps-src built templates to add Phalcon  php extension.  php 7.4.
Extra extensions for package  php. Build uses php-devel for toll phpize  
only tested on current php 7.4.11
Package template files for
php-psr -  interface definitions from PHP-FIG, prequisite for phalcon extension.
php-phalcon - version 4.1.0 (latest) compiled website framework, using generated C-source from zephir tool


A patch file from https://github.com/void-linux/void-packages/pull/26038.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-26038.patch --]
[-- Type: text/x-diff, Size: 2605 bytes --]

From 9e75a7e1543e1e388ba83c1bce9a209559e3f4b0 Mon Sep 17 00:00:00 2001
From: Michael Rynn <michael.rynn.500@gmail.com>
Date: Sun, 1 Nov 2020 23:08:26 +1100
Subject: [PATCH] phalcon 4.1.0 requires psr

---
 srcpkgs/php-phalcon/template | 37 ++++++++++++++++++++++++++++++++++++
 srcpkgs/php-psr/template     | 34 +++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/php-phalcon/template
 create mode 100644 srcpkgs/php-psr/template

diff --git a/srcpkgs/php-phalcon/template b/srcpkgs/php-phalcon/template
new file mode 100644
index 00000000000..947fb24d850
--- /dev/null
+++ b/srcpkgs/php-phalcon/template
@@ -0,0 +1,37 @@
+
+pkgname=php-phalcon
+version=4.1.0
+revision=1
+depends="php php-psr"
+makedepends="php-devel autoconf"
+short_desc="php extension web framework written with zephir, C compiled"
+distfiles=https://github.com/phalcon/cphalcon/archive/v${version}.zip
+checksum=a3bb2a0a5d7e99f41021f017d6b0064fb981e4c954fe9ca07d52be01513ffede
+homepage="https://https://phalcon.io/"
+license="PHP-3.01"
+maintainer="Michael Rynn <michael.rynn.500@gmail.com>"
+
+lib32disabled=yes
+create_wrksrc=yes
+
+srcpath=cphalcon-${version}/build/php7/64bits
+inipath=/etc/php/conf.d
+
+do_build() {  
+
+  export CPPFLAGS="-DPHALCON_RELEASE"
+  cd ${wrksrc}/${srcpath}
+  phpize
+  cd build
+  ../configure --prefix=/usr --enable-phalcon
+  make
+}
+
+do_install() {
+  cd ${wrksrc}/${srcpath}/build
+  echo 'extension=phalcon' > phalcon.ini
+  vmkdir ${inipath}
+  vinstall phalcon.ini 644 ${inipath}
+  vinstall modules/phalcon.so 755 /usr/lib/php/modules
+}
+
diff --git a/srcpkgs/php-psr/template b/srcpkgs/php-psr/template
new file mode 100644
index 00000000000..7407bfc7476
--- /dev/null
+++ b/srcpkgs/php-psr/template
@@ -0,0 +1,34 @@
+
+pkgname=php-psr
+version=1.0.0
+revision=1
+depends="php"
+makedepends="php-devel autoconf"
+short_desc="php PSR standards from PHP-FIG group, required by php-phalcon"
+distfiles=https://github.com/jbboehr/php-psr/archive/v${version}.zip
+checksum=4f1aa75d0feb0172acc728844fe35d3e67f3de8b486d14802ef1a3719a0d8956
+homepage="https://github.com/jbboehr/php-psr#readme"
+license="PHP-3.01"
+maintainer="Michael Rynn <michael.rynn.500@gmail.com>"
+
+lib32disabled=yes
+create_wrksrc=yes
+
+srcpath=php-psr-${version}
+inipath="/etc/php/conf.d"
+
+do_build() {  
+  cd ${wrksrc}/${srcpath}
+  phpize
+  ./configure
+  make
+}
+
+do_install() {
+  cd ${wrksrc}/${srcpath}
+  echo "extension=psr" > 01-psr.ini
+  vmkdir ${inipath}
+  vinstall 01-psr.ini 644 ${inipath}
+  vinstall modules/psr.so 755 /usr/lib/php/modules
+}
+

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-11-06 11:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 12:20 [PR PATCH] phalcon 4.1.0 requires psr betrixed
2020-11-02 16:34 ` Chocimier
2020-11-06  3:56 ` [PR PATCH] [Updated] " betrixed
2020-11-06  7:56 ` betrixed
2020-11-06  8:03 ` betrixed
2020-11-06  8:06 ` [PR PATCH] [Closed]: " betrixed
2020-11-06 11:41 ` betrixed
2020-11-06 11:41 ` [PR PATCH] [Updated] " betrixed
2020-11-06 11:50 ` [PR PATCH] [Closed]: " betrixed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).