Update for PHP 7.
[itkacl] / php7-itkacl-2.0 / debian / rules
similarity index 73%
rename from php5-itkacl-2.0/debian/rules
rename to php7-itkacl-2.0/debian/rules
index f177e9e7732aa91890fa528d9294e9d9b7494bd6..84044520664cfeb98a1fa8b00e91aa842d047dc0 100755 (executable)
@@ -16,8 +16,8 @@ binary-arch:
        dh_testroot
        dh_prep
        dh_installdirs
-       $(MAKE) install DESTDIR=debian/php5-itkacl
-       install -m 0644 -o root -g root debian/itkacl.ini debian/php5-itkacl/etc/php5/conf.d/
+       $(MAKE) install DESTDIR=debian/php7-itkacl
+       install -m 0644 -o root -g root debian/itkacl.ini debian/php7-itkacl/etc/php7/conf.d/
        dh_installdocs
        dh_installchangelogs
        dh_compress
@@ -25,7 +25,7 @@ binary-arch:
        dh_strip
        dh_makeshlibs
        dh_shlibdeps
-       echo "php:Depends=phpapi-$(shell php-config --phpapi)" >> debian/php5-itkacl.substvars
+       echo "php:Depends=phpapi-$(shell php-config --phpapi)" >> debian/php7-itkacl.substvars
        dh_installdeb
        dh_gencontrol
        dh_md5sums