This stanza of debian/rules is to blame:
......................................... binary-install/$(PKG_UVD_library):: ifeq ($(DEB_BUILD_ARCH),amd64) dh_install -p$(PKG_UVD_library) "arch/x86/usr/X11R6/lib/libAMD*.so*" "usr/lib32" endif
binary-install/$(PKG_driver):: ifeq ($(DEB_BUILD_ARCH),amd64) #driver package dh_install -p$(PKG_driver) "arch/x86/usr/X11R6/lib/*.so*" "usr/lib32" ...........................................
observe that the two glob expressions overlap.
This stanza of debian/rules is to blame:
....... ....... ....... ....... ....... ...... install/ $(PKG_UVD_ library) :: BUILD_ARCH) ,amd64) UVD_library) "arch/x86/ usr/X11R6/ lib/libAMD* .so*" "usr/lib32"
binary-
ifeq ($(DEB_
dh_install -p$(PKG_
endif
binary- install/ $(PKG_driver) :: BUILD_ARCH) ,amd64) usr/X11R6/ lib/*.so* " "usr/lib32" ....... ....... ....... ....... ....... .
ifeq ($(DEB_
#driver package
dh_install -p$(PKG_driver) "arch/x86/
.......
observe that the two glob expressions overlap.