summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-03-08 04:54:11 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-03-08 04:54:11 +0100
commitcd601107f0ae1365a715d9aa6aaddc75bd3df127 (patch)
tree7197afbd30a5bd6746afb57b3c518aff7a8fd525 /ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
parentbf3e4e236170f1b132a27a2ee5063a2715f2185f (diff)
downloadtde-packaging-cd601107f0ae1365a715d9aa6aaddc75bd3df127.tar.gz
tde-packaging-cd601107f0ae1365a715d9aa6aaddc75bd3df127.zip
Fix architecture specific dependencies of kubuntu-meta on Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/metapackages/kubuntu-meta/debian/rules')
-rwxr-xr-xubuntu/maverick/metapackages/kubuntu-meta/debian/rules29
1 files changed, 25 insertions, 4 deletions
diff --git a/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules b/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
index bd33ed27d..4ab7baa9d 100755
--- a/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
+++ b/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
@@ -24,15 +24,36 @@ clean:
DEB_BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
build: debian/stamp-distrospecific build-stamp
-build-stamp: desktop-$(DEB_BUILD_ARCH)
+build-stamp:
dh_clean
for seed in desktop; do \
- package=kubuntu-$$seed; \
- (printf "$$package:Depends="; perl -pe 's/\n/, /g' $$seed-$(DEB_BUILD_ARCH); echo) \
+ package=kubuntu-$$seed-trinity; \
+ echo -n > debian/$$package.substvars; \
+ if [ -f $$seed-all ]; then \
+ (printf "$$seed-all:Depends="; perl -pe 's/\n/, /g' $$seed-all; echo) \
>> debian/$$package.substvars; \
- (printf "$$package:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-$(DEB_BUILD_ARCH); echo) \
+ fi; \
+ if [ -f $$seed-recommends-all ]; then \
+ (printf "$$seed-all:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-all; echo) \
>> debian/$$package.substvars; \
+ fi; \
+ if [ -f $$seed-suggests-all ]; then \
+ (printf "$$seed-all:Suggests="; perl -pe 's/\n/, /g' $$seed-suggests-all; echo) \
+ >> debian/$$package.substvars; \
+ fi; \
+ if [ -f $$seed-$(DEB_BUILD_ARCH) ]; then \
+ (printf "$$seed-arch:Depends="; perl -pe 's/\n/, /g' $$seed-$(DEB_BUILD_ARCH); echo) \
+ >> debian/$$package.substvars; \
+ fi; \
+ if [ -f $$seed-recommends-$(DEB_BUILD_ARCH) ]; then \
+ (printf "$$seed-arch:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-$(DEB_BUILD_ARCH); echo) \
+ >> debian/$$package.substvars; \
+ fi; \
+ if [ -f $$seed-suggests-$(DEB_BUILD_ARCH) ]; then \
+ (printf "$$seed-arch:Suggests="; perl -pe 's/\n/, /g' $$seed-suggests-$(DEB_BUILD_ARCH); echo) \
+ >> debian/$$package.substvars; \
+ fi; \
done
touch $@