add needed deep

This commit is contained in:
Mario Fetka 2018-01-12 12:46:30 +01:00
parent 7ffe302bd9
commit 8cb1593144
2 changed files with 7 additions and 4 deletions

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: arcconf
Section: admin
Priority: optional
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
Build-Depends: debhelper (>= 5)
Build-Depends: debhelper (>= 5), ${dist:Depends}
Standards-Version: 3.9.3
Package: arcconf

9
debian/rules vendored
View File

@ -4,11 +4,14 @@
#export DH_VERBOSE=1
ifeq ($(DEB_BUILD_ARCH),amd64)
SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5), libc6-i386"
SUBSTVARS = -Vdist:Depends="libc6-i386"
else
SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5)"
SUBSTVARS = -Vdist:Depends="libc6"
endif
override_dh_gencontrol:
dh_gencontrol -- $(SUBSTVARS)
clean:
dh_testdir
dh_testroot
@ -124,7 +127,7 @@ binary-arch: build install
dh_strip
dh_installdeb
LD_LIBRARY_PATH=$$(pwd)/debian/arcconf/usr/lib/arcconf:$${LD_LIBRARY_PATH} dh_shlibdeps
dh_gencontrol -- $(SUBSTVARS)
dh_gencontrol
dh_md5sums
dh_builddeb