wok diff php-mcrypt/receipt @ rev 14981
Up: thunderbird-langpack-id (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:21:07 2013 +0200 (2013-08-08) |
parents | 855f42b596c0 |
children | 78cb1e930abd |
line diff
1.1 --- a/php-mcrypt/receipt Mon Jun 18 22:11:42 2012 +0200 1.2 +++ b/php-mcrypt/receipt Thu Aug 08 22:21:07 2013 +0200 1.3 @@ -1,20 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php-mcrypt" 1.7 -VERSION="5.4.4" 1.8 +VERSION="5.4.13" 1.9 CATEGORY="development" 1.10 SHORT_DESC="mcrypt module for PHP web programming language." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 +DEPENDS="libmcrypt php libtool" 1.13 WEB_SITE="http://www.php.net/" 1.14 WANTED="php" 1.15 1.16 -DEPENDS="libmcrypt php libltdl" 1.17 - 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 mkdir -p $fs/usr/share/php 1.22 - cp $(find $_pkg | grep mcrypt.so) $fs/usr/share/php/ 1.23 + cp $(find $install | grep mcrypt.so) $fs/usr/share/php/ 1.24 } 1.25 1.26 # Post and pre install commans to stop 1.27 @@ -58,9 +57,12 @@ 1.28 1.29 # Start Web server. 1.30 while read daemon file; do 1.31 - if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then 1.32 + [ -z "$1" ] || continue 1.33 + if [ -f "/var/run/$file" ]; then 1.34 /etc/init.d/$daemon stop 1.35 sleep 2 1.36 + fi 1.37 + if [ -f /etc/init.d/$daemon ]; then 1.38 /etc/init.d/$daemon start 1.39 fi 1.40 done <<EOT