Browse Source

Chris Efant:


			
			
				rocklinux
			
			
		
Chris Efant 20 years ago
parent
commit
8fdac5e317
4 changed files with 18 additions and 6 deletions
  1. +10
    -0
      package/alessandro/php/config.hlp
  2. +1
    -0
      package/alessandro/php/config.in
  3. +5
    -4
      package/alessandro/php/php.conf
  4. +2
    -2
      package/alessandro/php/php.desc

+ 10
- 0
package/alessandro/php/config.hlp

@ -38,3 +38,13 @@ ROCKCFG_PKG_PHP_openldap
ROCKCFG_PKG_PHP_openssl
Please check here if you want to activate OpenSSL-support
ROCKCFG_PKG_PHP_mcrypt
Please check here if you want to activate libmcrypt-support
ROCKCFG_PKG_PHP_mhash
Please check here if you want to activate libmhash-support
ROCKCFG_PKG_PHP_gd
Please check here if you want to activate libgd-support

+ 1
- 0
package/alessandro/php/config.in

@ -31,6 +31,7 @@ if pkgcheck php X ; then
done
bool "Build PHP with mcrypt support" ROCKCFG_PKG_PHP_mcrypt 0
bool "Build PHP with mhash support" ROCKCFG_PKG_PHP_mhash 0
bool "Build PHP with gd support" ROCKCFG_PKG_PHP_gd 0
menu_end

+ 5
- 4
package/alessandro/php/php.conf

@ -25,20 +25,21 @@ var_append extraconfopt " " "--with-zlib --with-bz2"
if [ "$ROCKCFG_PKG_PHP_mysql" = 1 ] ; then
if [ "$ROCKCFG_PKG_PHP_FORCESHARED" -eq 1 ]; then
pkg_php_shared='=shared'
pkg_php_shared="=$root/${pkg_mysql_prefix}"
elif pkginstalled mysql; then
pkg_php_shared='=shared'
pkg_php_shared="=$root/${pkg_mysql_prefix}"
else
pkg_php_shared=''
fi
var_append extraconfopt " " "--with-mysql$pkg_php_shared"
fi
[ "$ROCKCFG_PKG_PHP_postgresql" = 1 ] && var_append extraconfopt " " "--with-pgsql=${pkg_postgresql_prefix}"
[ "$ROCKCFG_PKG_PHP_openldap" = 1 ] && var_append extraconfopt " " "--with-ldap=${pkg_openldap_prefix}"
[ "$ROCKCFG_PKG_PHP_postgresql" = 1 ] && var_append extraconfopt " " "--with-pgsql=$root/${pkg_postgresql_prefix}"
[ "$ROCKCFG_PKG_PHP_openldap" = 1 ] && var_append extraconfopt " " "--with-ldap=$root/${pkg_openldap_prefix}"
[ "$ROCKCFG_PKG_PHP_openssl" = 1 ] && var_append extraconfopt " " "--with-openssl"
[ "$ROCKCFG_PKG_PHP_mcrypt" = 1 ] && var_append extraconfopt " " "--with-mcrypt"
[ "$ROCKCFG_PKG_PHP_mcrypt" = 1 ] && var_append extraconfopt " " "--with-mhash"
[ "$ROCKCFG_PKG_PHP_gd" = 1 ] && var_append extraconfopt " " "--with-gd"
postmake='cp php.ini-* $docdir'

+ 2
- 2
package/alessandro/php/php.desc

@ -35,8 +35,8 @@
[L] OpenSource
[S] Stable
[V] 4.3.6
[V] 4.3.7
[P] X -----5---9 178.100
[D] 1482687483 php-4.3.6.tar.bz2 http://static.php.net/www.php.net/distributions/
[D] 1415751263 php-4.3.7.tar.bz2 http://static.php.net/www.php.net/distributions/

Loading…
Cancel
Save