diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 15:24:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 15:24:35 -0600 |
commit | 480df2e321c2518991b2d35957ab2b01580b2536 (patch) | |
tree | 900da5a84f9006cbe675ca8cde8c87c059101a22 /ubuntu/precise/metapackages/kubuntu-meta/debian/rules | |
parent | 3d382d1b043f3e6db524c045fb331f17b03d0974 (diff) | |
download | tde-packaging-480df2e321c2518991b2d35957ab2b01580b2536.tar.gz tde-packaging-480df2e321c2518991b2d35957ab2b01580b2536.zip |
Add Debian metapackage and move the Kubuntu metapackage to the correct location
Diffstat (limited to 'ubuntu/precise/metapackages/kubuntu-meta/debian/rules')
-rwxr-xr-x | ubuntu/precise/metapackages/kubuntu-meta/debian/rules | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ubuntu/precise/metapackages/kubuntu-meta/debian/rules b/ubuntu/precise/metapackages/kubuntu-meta/debian/rules new file mode 100755 index 000000000..3560b7d93 --- /dev/null +++ b/ubuntu/precise/metapackages/kubuntu-meta/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_clean + + rm -rf build-stamp *.old debootstrap-dir + +DEB_BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) + +build: build-stamp +build-stamp: desktop-$(DEB_BUILD_ARCH) + dh_clean + + for seed in desktop; do \ + package=kubuntu-$$seed; \ + (printf "$$package:Depends="; perl -pe 's/\n/, /g' $$seed-$(DEB_BUILD_ARCH); echo) \ + >> debian/$$package.substvars; \ + (printf "$$package:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-$(DEB_BUILD_ARCH); echo) \ + >> debian/$$package.substvars; \ + done + touch $@ + +install: build-stamp + +binary-arch: install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installchangelogs -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary-indep: + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean checkroot build |