php: add libzip dependency

This commit is contained in:
Jérôme Duval
2021-08-16 12:29:37 +02:00
committed by GitHub
parent 46a864c9ee
commit ca634d1861

View File

@@ -6,7 +6,7 @@ popular websites in the world."
HOMEPAGE="https://php.net/"
COPYRIGHT="2001-2020 PHP Group"
LICENSE="PHP License v3.01"
REVISION="2"
REVISION="3"
SOURCE_URI="https://php.net/get/php-$portVersion.tar.bz2/from/this/mirror"
CHECKSUM_SHA256="85710f007cfd0fae94e13a02a3a036f4e81ef43693260cae8a2e1ca93659ce3e"
SOURCE_FILENAME="php-$portVersion.tar.bz2"
@@ -50,34 +50,36 @@ REQUIRES="
lib:libicuuc$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libnghttp2$secondaryArchSuffix
lib:libonig$secondaryArchSuffix
lib:libpcre$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libwebp$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libwebp$secondaryArchSuffix
lib:libonig$secondaryArchSuffix
lib:libzip$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libgd$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libgd$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libnghttp2$secondaryArchSuffix
devel:libonig$secondaryArchSuffix
devel:libpcre$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libpq$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libwebp$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libwebp$secondaryArchSuffix
devel:libonig$secondaryArchSuffix
devel:libpq$secondaryArchSuffix
devel:libzip$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -104,6 +106,7 @@ BUILD()
--sysconfdir=$settingsDir/php7 \
--with-config-file-path=$settingsDir/php7 \
--with-config-file-scan-dir=$settingsDir/php7 \
--with-zip=shared \
--with-zlib-dir=`finddir B_SYSTEM_DIRECTORY` --with-zlib=shared \
--with-openssl \
--with-curl \