use php5enmod and php5dismod

This commit is contained in:
Frédéric Péters 2013-12-29 10:30:02 +01:00
parent fba81e5d23
commit 9769c8bef3
3 changed files with 17 additions and 1 deletions

7
php5-lasso.postinst Normal file
View File

@ -0,0 +1,7 @@
#! /bin/sh -e
if [ "$1" = "configure" ]; then
php5enmod lasso
fi
#DEBHELPER#

7
php5-lasso.prerm Normal file
View File

@ -0,0 +1,7 @@
#! /bin/sh -e
if [ "$1" = "remove" ]; then
phpdismod lasso
fi
#DEBHELPER#

4
rules
View File

@ -49,7 +49,9 @@ CONFIGURE_ARGS := \
--enable-tests=no \
--disable-gtk-doc \
--enable-perl \
--with-php5-config-dir=/etc/php5/conf.d/
--disable-csharp \
--disable-php4 \
--with-php5-config-dir=/etc/php5/mods-available/
ifeq ($(with_java),yes)