wok diff php-cherokee/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (21 months ago)
parents b10d41313e54
children
line diff
     1.1 --- a/php-cherokee/receipt	Fri Mar 20 15:21:15 2020 +0100
     1.2 +++ b/php-cherokee/receipt	Sun Feb 12 13:14:45 2023 +0000
     1.3 @@ -1,29 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="php-cherokee"
     1.7 -VERSION="7.3.16"
     1.8 +VERSION="7.4.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="PHP module for cherokee."
    1.11  MAINTAINER="shann@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="https://www.php.net/"
    1.14 +
    1.15 +PROVIDE="php:cherokee"
    1.16 +DEPENDS="cherokee libxml2 php-common zlib"
    1.17  WANTED="php"
    1.18 -PROVIDE="php:cherokee"
    1.19 -
    1.20 -DEPENDS="php-common cherokee libxml2 zlib"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr/bin $fs/usr/share/php
    1.26 -	cp -a $src/sapi/cgi/php-cgi $fs/usr/bin
    1.27 +	mkdir -p $fs/usr/bin
    1.28 +	mkdir -p $fs/usr/share/php
    1.29 +
    1.30 +	cp -a $src/sapi/cgi/php-cgi	$fs/usr/bin
    1.31  }
    1.32  
    1.33  # Post and pre install commands to stop
    1.34  # and restart Web server if needed.
    1.35  pre_install()
    1.36  {
    1.37 -	if [ -z "$1" -a ! -f "/var/run/cherokee.pid" ]; then
    1.38 +	if [ -z "$1" -a ! -f "/var/run/cherokee.pid" ]
    1.39 +	  then
    1.40  		/etc/init.d/cherokee stop
    1.41  	fi
    1.42  }
    1.43 @@ -48,8 +51,8 @@
    1.44  
    1.45  
    1.46  	# Start Web server.
    1.47 -	if [ -z "$1" -a ! -f /var/run/cherokee.pid \
    1.48 -		     -a -f /etc/init.d/cherokee ]; then
    1.49 +	if [ -z "$1" -a ! -f /var/run/cherokee.pid -a -f /etc/init.d/cherokee ]
    1.50 +	  then
    1.51  		/etc/init.d/cherokee start
    1.52  	fi
    1.53  }