diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2006-03-19 18:03:21 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2006-03-19 18:03:21 +0000 |
| commit | ab3167fba53bab17c6b8fdce41fbf8cfe931111d (patch) | |
| tree | e5da32a713a34a7334479c98f7d2702799263e06 /debian | |
| parent | 83e9876f5aabd4adf2f5a82d6eaf3acb1024596f (diff) | |
removed hardcoded php dependency, added php:Depends substvar
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/control | 2 | ||||
| -rwxr-xr-x | debian/rules | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 4a7118de..6f59555e 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,7 @@ Description: Liberty ID-FF library - Python 2.3 bindings Package: php4-lasso Section: web Architecture: any -Depends: phpapi-20050606, ${shlibs:Depends}, ${misc:depends} +Depends: ${php:Depends}, ${shlibs:Depends}, ${misc:depends} Description: Liberty ID-FF library - PHP 4 bindings Lasso is an implementation of the Liberty Identity Federation specifications defined by the Liberty Alliance consortium. They defines processes such as diff --git a/debian/rules b/debian/rules index 9341b167..e1c7d2a0 100755 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,8 @@ version=`ls src/.libs/lib*.so.* | \ major=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` +phpapiver=$(shell php-config --phpapi) + config.status: configure dh_testdir # Add here commands to configure the package. @@ -99,6 +101,7 @@ binary-arch: build install #dh_clideps -L liblasso-cil -r -d dh_installdeb dh_shlibdeps -a + echo "php:Depends=phpapi-$(phpapiver)" >> debian/php4-lasso.substvars dh_gencontrol dh_md5sums dh_builddeb |
