summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-05-10 00:38:31 +0200
committerAxel Beckert <abe@deuxchevaux.org>2013-05-10 02:14:50 +0200
commitcb87cc19c77f61873ccbbf2b8d37c5ea8a593432 (patch)
treee5cd73bab5b677aead1053b93a685d3af747c691
parent590dcd96ea43b7c1fd3e63cd1cd38e7663041ca1 (diff)
downloadzsh-cb87cc19c77f61873ccbbf2b8d37c5ea8a593432.tar.gz
zsh-cb87cc19c77f61873ccbbf2b8d37c5ea8a593432.zip
Add Built-Using header to zsh-static
Bump build-dependency on dpkg-dev to >= 1.16.2~
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 3d68f4769..f1f985ca3 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Build-Depends: bsdmainutils,
debhelper (>= 9~),
dh-autoreconf,
- dpkg-dev (>= 1.16.1~),
+ dpkg-dev (>= 1.16.2~),
ghostscript,
groff,
groff-base,
@@ -82,6 +82,7 @@ Package: zsh-static
Architecture: any
Depends: zsh, ${misc:Depends}
Suggests: zsh-doc
+Built-Using: ${Built-Using}
Description: shell with lots of features (static link)
Zsh is a UNIX command interpreter (shell) usable as an
interactive login shell and as a shell script command
diff --git a/debian/rules b/debian/rules
index 20e5e5937..879934c55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,8 @@ CONFIGFLAGS += --enable-zsh-secure-free
CONFIGFLAGS += --enable-zsh-hash-debug
endif
+BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev eglibc)
+
build: build-arch build-indep
build-arch: configure-stamp
@@ -202,7 +204,7 @@ binary-arch-static: build-static
dh_fixperms -pzsh-static
dh_installdeb -pzsh-static
dh_md5sums -pzsh-static
- dh_gencontrol -pzsh-static
+ dh_gencontrol -pzsh-static -- -VBuilt-Using="$(BUILT_USING)"
dh_builddeb -pzsh-static -- -Zxz
binary-arch-dev: build-arch