mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
php: Enable more extentions.
* gnu/packages/php.scm (php)[arguments]: Use libzip instead of zip for the "--with-libzip" argument, enable intl and zip. [inputs]: Add icu4c, libzip. Remove zip.
This commit is contained in:
parent
a9b15d4c7f
commit
30502f1dd6
1 changed files with 7 additions and 3 deletions
|
@ -36,6 +36,7 @@ (define-module (gnu packages php)
|
|||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages icu4c)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages multiprecision)
|
||||
|
@ -101,7 +102,7 @@ (define-public php
|
|||
(with "--with-jpeg-dir" "libjpeg")
|
||||
(with "--with-ldap" "openldap")
|
||||
(with "--with-ldap-sasl" "cyrus-sasl")
|
||||
(with "--with-libzip" "zip")
|
||||
(with "--with-libzip" "libzip")
|
||||
(with "--with-libxml-dir" "libxml2")
|
||||
(with "--with-onig" "oniguruma")
|
||||
(with "--with-pcre-dir" "pcre")
|
||||
|
@ -136,9 +137,11 @@ (define-public php
|
|||
"--enable-fpm"
|
||||
"--enable-ftp"
|
||||
"--enable-inifile"
|
||||
"--enable-intl"
|
||||
"--enable-mbstring"
|
||||
"--enable-pcntl"
|
||||
"--enable-sockets"))
|
||||
"--enable-sockets"
|
||||
"--enable-zip"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'do-not-record-build-flags
|
||||
|
@ -356,6 +359,7 @@ (define-public php
|
|||
("glibc" ,glibc)
|
||||
("gmp" ,gmp)
|
||||
("gnutls" ,gnutls)
|
||||
("icu4c" ,icu4c)
|
||||
("libgcrypt" ,libgcrypt)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libpng" ,libpng)
|
||||
|
@ -364,6 +368,7 @@ (define-public php
|
|||
("libxpm" ,libxpm)
|
||||
("libxslt" ,libxslt)
|
||||
("libx11" ,libx11)
|
||||
("libzip" ,libzip)
|
||||
("oniguruma" ,oniguruma)
|
||||
("openldap" ,openldap)
|
||||
("openssl" ,openssl)
|
||||
|
@ -372,7 +377,6 @@ (define-public php
|
|||
("readline" ,readline)
|
||||
("sqlite" ,sqlite)
|
||||
("tidy" ,tidy)
|
||||
("zip" ,zip)
|
||||
("zlib" ,zlib)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
|
|
Loading…
Reference in a new issue