# SliTaz package receipt. PACKAGE="php-pdo-pgsql" VERSION="5.2.17" CATEGORY="development" SHORT_DESC="PDO PgSQL module for PHP web programming language." MAINTAINER="pascal.bellard@slitaz.org" DEPENDS="php php-mysql libpostgresqlclient" 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 pdo_pgsql.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 <