[steamcmd] 05/05: only build on i386

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Dec 13 08:44:53 UTC 2015


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

detiste-guest pushed a commit to branch master
in repository steamcmd.

commit a09ce564c04d2d4cd21907f56e11756012a9c1be
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Dec 13 09:44:27 2015 +0100

    only build on i386
---
 debian/control | 4 ++--
 debian/rules   | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 61ea3ed..96910c3 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,8 @@ Vcs-Git: git://anonscm.debian.org/pkg-games/steamcmd
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/steamcmd.git
 
 Package: steamcmd
-Architecture: any
-#Architecture: i386
+Architecture: i386
+Multi-Arch: foreign
 Depends: steam,
          ${shlibs:Depends},
          ${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 7444fb3..4961445 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@ MIRROR=http://media.steampowered.com/client
 %:
 	dh $@
 
+ifneq ($(DEB_BUILD_ARCH), i386)
+	@echo "error: $(DEB_BUILD_ARCH) is not a supported architecture"
+	@exit 1
+endif
+
 get-orig-source:
 	rm -rf dest/
 	# this can't use uscan as package isn't versioned at all

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/steamcmd.git



More information about the Pkg-games-commits mailing list