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:55:39 +0100
commitfd9a4f909c4b8f5737fcd951d0cdb841a2d6f931 (patch)
treec6e6a56dc5028c5c382f628e76716fa4948809c7 /ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
parentdff90586e5c5579dc83ac43478ea0ca1d44e2ad2 (diff)
downloadtde-packaging-fd9a4f909c4b8f5737fcd951d0cdb841a2d6f931.tar.gz
tde-packaging-fd9a4f909c4b8f5737fcd951d0cdb841a2d6f931.zip
Fix architecture specific dependencies of kubuntu-meta on Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit cd601107f0ae1365a715d9aa6aaddc75bd3df127)
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 $@