From 9769c8bef35d376c2c0d355711954cef5984549c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Dec 2013 10:30:02 +0100 Subject: [PATCH] use php5enmod and php5dismod --- php5-lasso.postinst | 7 +++++++ php5-lasso.prerm | 7 +++++++ rules | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 php5-lasso.postinst create mode 100644 php5-lasso.prerm diff --git a/php5-lasso.postinst b/php5-lasso.postinst new file mode 100644 index 00000000..7fc54e5b --- /dev/null +++ b/php5-lasso.postinst @@ -0,0 +1,7 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + php5enmod lasso +fi + +#DEBHELPER# diff --git a/php5-lasso.prerm b/php5-lasso.prerm new file mode 100644 index 00000000..57eb1e8e --- /dev/null +++ b/php5-lasso.prerm @@ -0,0 +1,7 @@ +#! /bin/sh -e + +if [ "$1" = "remove" ]; then + phpdismod lasso +fi + +#DEBHELPER# diff --git a/rules b/rules index 031db6f4..a676e6b7 100644 --- a/rules +++ b/rules @@ -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)