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/rules | |
| parent | 83e9876f5aabd4adf2f5a82d6eaf3acb1024596f (diff) | |
removed hardcoded php dependency, added php:Depends substvar
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
