mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/php-legacy to 8.1.17-2
This commit is contained in:
parent
530ce6cc2f
commit
5b867e63f2
1 changed files with 17 additions and 1 deletions
|
@ -22,7 +22,7 @@ pkgname=('php-legacy'
|
|||
'php-legacy-tidy'
|
||||
'php-legacy-xsl')
|
||||
pkgver=8.1.17
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
license=('PHP')
|
||||
url='https://www.php.net/'
|
||||
|
@ -213,6 +213,7 @@ package_php-legacy() {
|
|||
package_php-legacy-cgi() {
|
||||
pkgdesc='CGI and FCGI SAPI for PHP'
|
||||
depends=('php-legacy')
|
||||
provides=("php-cgi-interpreter=${_interpreter}")
|
||||
|
||||
cd "${srcdir}/build"
|
||||
make -j1 INSTALL_ROOT="${pkgdir}" install-cgi
|
||||
|
@ -222,6 +223,7 @@ package_php-legacy-apache() {
|
|||
pkgdesc='Apache SAPI for PHP'
|
||||
depends=('php-legacy' 'apache' 'libnsl')
|
||||
backup=('etc/httpd/conf/extra/php-legacy_module.conf')
|
||||
provides=("php-apache-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build-apache/libs/libphp.so" "${pkgdir}/usr/lib/httpd/modules/libphp-legacy.so"
|
||||
patchelf --set-soname "libphp-legacy.so" "${pkgdir}/usr/lib/httpd/modules/libphp-legacy.so"
|
||||
|
@ -233,6 +235,7 @@ package_php-legacy-fpm() {
|
|||
pkgdesc='FastCGI Process Manager for PHP'
|
||||
depends=('php-legacy' 'systemd')
|
||||
backup=('etc/php-legacy/php-fpm.conf' 'etc/php-legacy/php-fpm.d/www.conf')
|
||||
provides=("php-fpm-interpreter=${_interpreter}")
|
||||
options=('!emptydirs')
|
||||
|
||||
cd "${srcdir}/build"
|
||||
|
@ -245,6 +248,7 @@ package_php-legacy-fpm() {
|
|||
package_php-legacy-embed() {
|
||||
pkgdesc='Embedded PHP SAPI library'
|
||||
depends=('php-legacy' 'systemd-libs' 'libnsl' 'libxcrypt')
|
||||
provides=("php-embed-interpreter=${_interpreter}")
|
||||
options=('!emptydirs')
|
||||
|
||||
cd "${srcdir}/build"
|
||||
|
@ -257,6 +261,7 @@ package_php-legacy-embed() {
|
|||
package_php-legacy-phpdbg() {
|
||||
pkgdesc='Interactive PHP debugger'
|
||||
depends=('php-legacy')
|
||||
provides=("php-phpdbg-interpreter=${_interpreter}")
|
||||
options=('!emptydirs')
|
||||
|
||||
cd "${srcdir}/build-phpdbg"
|
||||
|
@ -266,6 +271,7 @@ package_php-legacy-phpdbg() {
|
|||
package_php-legacy-dblib() {
|
||||
pkgdesc='dblib module for PHP'
|
||||
depends=('php-legacy' 'freetds')
|
||||
provides=("php-dblib-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/pdo_dblib.so" "${pkgdir}/usr/lib/php-legacy/modules/pdo_dblib.so"
|
||||
}
|
||||
|
@ -273,6 +279,7 @@ package_php-legacy-dblib() {
|
|||
package_php-legacy-enchant() {
|
||||
pkgdesc='enchant module for PHP'
|
||||
depends=('php-legacy' 'enchant')
|
||||
provides=("php-enchant-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/enchant.so" "${pkgdir}/usr/lib/php-legacy/modules/enchant.so"
|
||||
}
|
||||
|
@ -280,6 +287,7 @@ package_php-legacy-enchant() {
|
|||
package_php-legacy-gd() {
|
||||
pkgdesc='gd module for PHP'
|
||||
depends=('php-legacy' 'gd')
|
||||
provides=("php-gd-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/gd.so" "${pkgdir}/usr/lib/php-legacy/modules/gd.so"
|
||||
}
|
||||
|
@ -287,6 +295,7 @@ package_php-legacy-gd() {
|
|||
package_php-legacy-sodium() {
|
||||
pkgdesc='sodium module for PHP'
|
||||
depends=('php-legacy' 'libsodium')
|
||||
provides=("php-sodium-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/sodium.so" "${pkgdir}/usr/lib/php-legacy/modules/sodium.so"
|
||||
}
|
||||
|
@ -294,6 +303,7 @@ package_php-legacy-sodium() {
|
|||
package_php-legacy-odbc() {
|
||||
pkgdesc='ODBC modules for PHP'
|
||||
depends=('php-legacy' 'unixodbc')
|
||||
provides=("php-odbc-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/odbc.so" "${pkgdir}/usr/lib/php-legacy/modules/odbc.so"
|
||||
install -D -m755 "${srcdir}/build/modules/pdo_odbc.so" "${pkgdir}/usr/lib/php-legacy/modules/pdo_odbc.so"
|
||||
|
@ -302,6 +312,7 @@ package_php-legacy-odbc() {
|
|||
package_php-legacy-pgsql() {
|
||||
pkgdesc='PostgreSQL modules for PHP'
|
||||
depends=('php-legacy' 'postgresql-libs')
|
||||
provides=("php-pgsql-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/pgsql.so" "${pkgdir}/usr/lib/php-legacy/modules/pgsql.so"
|
||||
install -D -m755 "${srcdir}/build/modules/pdo_pgsql.so" "${pkgdir}/usr/lib/php-legacy/modules/pdo_pgsql.so"
|
||||
|
@ -310,6 +321,7 @@ package_php-legacy-pgsql() {
|
|||
package_php-legacy-pspell() {
|
||||
pkgdesc='pspell module for PHP'
|
||||
depends=('php-legacy' 'aspell')
|
||||
provides=("php-pspell-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/pspell.so" "${pkgdir}/usr/lib/php-legacy/modules/pspell.so"
|
||||
}
|
||||
|
@ -317,6 +329,7 @@ package_php-legacy-pspell() {
|
|||
package_php-legacy-snmp() {
|
||||
pkgdesc='snmp module for PHP'
|
||||
depends=('php-legacy' 'net-snmp')
|
||||
provides=("php-snmp-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/snmp.so" "${pkgdir}/usr/lib/php-legacy/modules/snmp.so"
|
||||
}
|
||||
|
@ -324,6 +337,7 @@ package_php-legacy-snmp() {
|
|||
package_php-legacy-sqlite() {
|
||||
pkgdesc='sqlite module for PHP'
|
||||
depends=('php-legacy' 'sqlite')
|
||||
provides=("php-sqlite-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/sqlite3.so" "${pkgdir}/usr/lib/php-legacy/modules/sqlite3.so"
|
||||
install -D -m755 "${srcdir}/build/modules/pdo_sqlite.so" "${pkgdir}/usr/lib/php-legacy/modules/pdo_sqlite.so"
|
||||
|
@ -332,6 +346,7 @@ package_php-legacy-sqlite() {
|
|||
package_php-legacy-tidy() {
|
||||
pkgdesc='tidy module for PHP'
|
||||
depends=('php-legacy' 'tidy')
|
||||
provides=("php-tidy-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/tidy.so" "${pkgdir}/usr/lib/php-legacy/modules/tidy.so"
|
||||
}
|
||||
|
@ -339,6 +354,7 @@ package_php-legacy-tidy() {
|
|||
package_php-legacy-xsl() {
|
||||
pkgdesc='xsl module for PHP'
|
||||
depends=('php-legacy' 'libxslt')
|
||||
provides=("php-xsl-interpreter=${_interpreter}")
|
||||
|
||||
install -D -m755 "${srcdir}/build/modules/xsl.so" "${pkgdir}/usr/lib/php-legacy/modules/xsl.so"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue