+php-itkacl (2.1.1) unstable; urgency=medium
+
+ * Port to PHP 8.
+
+ -- Sebastian Bugge <vsbugge@samfundet.no> Thu, 06 Jun 2024 17:10:24 +0200
+
php7-itkacl (2.1) unstable; urgency=medium
* Port to PHP 7.
-Source: php7-itkacl
+Source: php-itkacl
Priority: extra
Maintainer: Steinar H. Gunderson <sesse@samfundet.no>
-Build-Depends: debhelper (>= 7.0.50~), libitkacl-dev, php7.3-dev
+Build-Depends: debhelper (>= 13.3.4~), libitkacl-dev, php-dev
Standards-Version: 3.9.1
Section: php
-Package: php7-itkacl
+Package: php-itkacl
Section: php
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, libitkacl2
Description: PHP bindings for ITKACL
PHP module to interface to ITKACL.
#!/usr/bin/make -f
# -*- makefile -*-
+MODS_AVAILBALE=$(shell php-config --ini-path)/../mods-available
+DESTDIR=debian/php-itkacl
+
clean:
dh_testdir
dh_clean
build:
dh_testdir
- $(MAKE)
+ $(MAKE)
binary-indep:
dh_testroot
dh_prep
dh_installdirs
- $(MAKE) install DESTDIR=debian/php7-itkacl
- install -m 0644 -o root -g root debian/itkacl.ini debian/php7-itkacl/etc/php7/conf.d/
+ $(MAKE) install DESTDIR=$(DESTDIR)
+ install -D -m 644 -o root -g root debian/itkacl.ini $(DESTDIR)$(MODS_AVAILBALE)/itkacl.ini
dh_installdocs
dh_installchangelogs
dh_compress
dh_strip
dh_makeshlibs
dh_shlibdeps
- echo "php:Depends=phpapi-$(shell php-config --phpapi)" >> debian/php7-itkacl.substvars
+ echo "php:Depends=phpapi-$(shell php-config --phpapi)" >> debian/php-itkacl.substvars
dh_installdeb
dh_gencontrol
dh_md5sums