summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libkdcraw/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-11-13 20:16:20 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-11-13 20:16:36 +0100
commitc5c42041c22e7dfa79862d00acbc24bcb6148516 (patch)
tree036f2194f73a6dd9213cceab3ea6d8711d3d587b /ubuntu/maverick/libraries/libkdcraw/debian/rules
parentac495cc35532b817c5f3cfd20e8c69d152de6e66 (diff)
downloadtde-packaging-c5c42041c22e7dfa79862d00acbc24bcb6148516.tar.gz
tde-packaging-c5c42041c22e7dfa79862d00acbc24bcb6148516.zip
Add strict liblcms*-dev dependency to libkdcraw-dev on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/libraries/libkdcraw/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/libkdcraw/debian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/libkdcraw/debian/rules b/ubuntu/maverick/libraries/libkdcraw/debian/rules
index 37e4c2242..ad8152372 100755
--- a/ubuntu/maverick/libraries/libkdcraw/debian/rules
+++ b/ubuntu/maverick/libraries/libkdcraw/debian/rules
@@ -19,3 +19,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
+
+# add installed liblcms*-dev to libkdcraw3-trinity-dev depends
+common-binary-arch::
+ (dpkg --get-selections "liblcms*-dev" | awk '{lcms=lcms $$1 ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)