[lib3ds] 10/13: Use multi-arch.

Anton Gladky gladk at moszumanska.debian.org
Fri Jan 17 19:10:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository lib3ds.

commit 512e003e8ddea2d3f742925b7c201a8e1a62afb7
Author: Anton Gladky <gladk at debian.org>
Date:   Fri Jan 17 20:00:16 2014 +0100

    Use multi-arch.
---
 debian/control | 4 ++++
 debian/rules   | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/debian/control b/debian/control
index 3f0c5ba..186d700 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,9 @@ Architecture: any
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends}
 Description: Autodesk 3D Studio file reader C library
  This library implements the functionality required to manage
  Autodesk's 3D Studio Release 3 and 4 format (.3DS) files.
@@ -33,6 +36,7 @@ Depends:
  lib3ds-1-3 (=${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
+Multi-Arch: foreign
 Description: Autodesk 3D Studio file reader development files
  This library implements the functionality required to manage
  Autodesk's 3D Studio Release 3 and 4 format (.3DS) files.
diff --git a/debian/rules b/debian/rules
index b614103..dfe5539 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,8 @@
 
 %:
 	dh $@ --parallel --with autoreconf
+export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+override_dh_link:
+	dh_link usr/lib/$(DEB_HOST_MULTIARCH)/lib3ds-1.so.3.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/lib3ds-1.so
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lib3ds.git



More information about the debian-science-commits mailing list