summaryrefslogtreecommitdiff
path: root/Ports/php
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-11-24 11:30:20 +0100
committerLinus Groh <mail@linusgroh.de>2022-11-24 10:52:10 +0000
commitfef0330ee57d024a15821879f3ed6e9297b48d90 (patch)
tree2aaa18f9ea770735acc1a032404088b04b42dffb /Ports/php
parentaa32207746ec9ee56031813c5cd5b88b4b96570a (diff)
downloadserenity-fef0330ee57d024a15821879f3ed6e9297b48d90.zip
Ports: Clean up PHP's `package.sh`
Diffstat (limited to 'Ports/php')
-rwxr-xr-xPorts/php/package.sh31
1 files changed, 19 insertions, 12 deletions
diff --git a/Ports/php/package.sh b/Ports/php/package.sh
index af5de67e09..b843a9021b 100755
--- a/Ports/php/package.sh
+++ b/Ports/php/package.sh
@@ -4,23 +4,30 @@ useconfigure='true'
version='8.1.12'
files="https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz 08243359e2204d842082269eedc15f08d2eca726d0e65b93fb11f4bfc51bbbab"
auth_type='sha256'
-depends=("libiconv" "libxml2" "openssl" "readline" "sqlite" "zlib")
+depends=(
+ 'libiconv'
+ 'libxml2'
+ 'openssl'
+ 'readline'
+ 'sqlite'
+ 'zlib'
+)
configopts=(
- "--disable-cgi"
- "--disable-opcache"
- "--enable-fpm"
+ '--disable-cgi'
+ '--disable-opcache'
+ '--enable-fpm'
"--prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-iconv=${SERENITY_INSTALL_ROOT}/usr/local"
- "--with-openssl"
+ '--with-openssl'
"--with-readline=${SERENITY_INSTALL_ROOT}/usr/local"
- "--with-zlib"
- "--without-pcre-jit"
+ '--with-zlib'
+ '--without-pcre-jit'
)
-launcher_name="PHP"
-launcher_category="Development"
-launcher_command="/usr/local/bin/php -a"
-launcher_run_in_terminal="true"
-icon_file="win32/build/php.ico"
+launcher_name='PHP'
+launcher_category='Development'
+launcher_command='/usr/local/bin/php -a'
+launcher_run_in_terminal='true'
+icon_file='win32/build/php.ico'
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibCrypt -I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2"
export LIBS='-ldl'