[SCM] single/multiplayer lobby for the Spring RTS engine branch, master, updated. debian/0.40-1-9-g7a06b79

Marco Amadori marco.amadori at gmail.com
Thu Jan 7 14:38:32 UTC 2010


The following commit has been merged in the master branch:
commit 737afe4c00dcd5a8ee32d61407a511d422ecd8d6
Author: Marco Amadori <marco.amadori at gmail.com>
Date:   Thu Jan 7 14:13:24 2010 +0100

    Added the -dbg debug package.

diff --git a/debian/control b/debian/control
index d5e30ff..9ad430a 100644
--- a/debian/control
+++ b/debian/control
@@ -17,3 +17,15 @@ Description: single/multiplayer lobby for the Spring RTS engine
  This package provides a single-player and multiplayer lobby for Spring.
  Other features include a P2P system for downloading maps and mods and
  a built-in IRC-like chat client.
+
+Package: springlobby-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, springlobby (= ${binary:Version})
+Description: single/multiplayer lobby for the Spring RTS engine (debugging symbols)
+ This package provides a single-player and multiplayer lobby for Spring.
+ Other features include a P2P system for downloading maps and mods and
+ a built-in IRC-like chat client.
+ .
+ This package contains the debugging symbols for the springlobby binary.
diff --git a/debian/rules b/debian/rules
index 1e7c343..fadfdaf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,14 +11,14 @@
 
 SLVERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d'-')
 
-PROGDIR := $(CURDIR)/debian/springlobby
+PROGDIR := $(CURDIR)/debian/tmp
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     MAKEFLAGS += -j$(NUMJOBS)
 endif
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DOPTION_TORRENT_SYSTEM=OFF -DSPRINGLOBBY_REV:STRING=$(SLVERSION)
+	dh_auto_configure -- -DOPTION_TORRENT_SYSTEM=OFF -DSPRINGLOBBY_REV:STRING=$(SLVERSION) -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
 
 override_dh_auto_build:
 	+dh_auto_build
@@ -42,6 +42,9 @@ override_dh_auto_install:
 	# remove empty dirs (/usr/bin expected until an CMake bindir is provided)
 	find $(PROGDIR) -type d -empty -delete
 
+override_dh_strip:
+	+dh_strip --dbg-package=springlobby-dbg
+
 override_dh_auto_clean:
 	+dh_auto_clean
 	$(MAKE) -C debian/manpages clean

-- 
single/multiplayer lobby for the Spring RTS engine



More information about the Pkg-games-commits mailing list