# SliTaz package receipt." PACKAGE="php-cups" VERSION="1.4.6" CATEGORY="development" SHORT_DESC="Common UNIX Printing System bindings for php." MAINTAINER="pascal.bellard@slitaz.org" DEPENDS="cups libtasn1" WANTED="cups" WEB_SITE="http://www.cups.org/" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/php cp $(find $_pkg | grep phpcups.so) $fs/usr/share/php/cups.so } # 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 <