# HG changeset patch # User Pascal Bellard # Date 1292853128 -3600 # Node ID 48880e2d195bbd1eefa5162370c658a72443e9fd # Parent c6b235f60dda6b6d9974aa76b745adebfae47678 Add php-soap diff -r c6b235f60dda -r 48880e2d195b php-soap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php-soap/receipt Mon Dec 20 14:52:08 2010 +0100 @@ -0,0 +1,69 @@ +# SliTaz package receipt. + +PACKAGE="php-soap" +VERSION="5.2.16" +CATEGORY="development" +SHORT_DESC="soap module for PHP web programming language." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="php libxml2" +WEB_SITE="http://www.php.net/" +WANTED="php" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/php + cp $(find $_pkg | grep soap.so) $fs/usr/share/php/ +} + +# Post and pre install commans to stop +# and restart Web server if needed. +pre_install() +{ + while read daemon file; do + if [ -z "$1" -a -f "/var/run/$file" ]; then + /etc/init.d/$daemon stop + fi + done <