[SCM] Packaging of frozen-bubble game in Debian branch, master, updated. 678dd148f40d4ff6a3fe6eca8f3cb48d6bc83c47

Dominique Dumont dod at debian.org
Wed Feb 29 16:41:01 UTC 2012


The following commit has been merged in the master branch:
commit cadd56b4ddd18000b698cfd1671977cffb160acf
Author: Dominique Dumont <dod at debian.org>
Date:   Wed Feb 29 16:55:51 2012 +0100

    pass build options to Build.PL directly

diff --git a/debian/rules b/debian/rules
index 1aff6ca..536c017 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,17 +9,18 @@ DEST_DIR=$(CURDIR)/debian/tmp/usr
 	dh $@
 
 override_dh_auto_configure:
-	perl Build.PL PREFIX=/usr DATADIR=/usr/share/games LOCALEDIR=/usr/share/locale LIBDIR=/usr/lib/games BINDIR=/usr/games MANDIR=/usr/share/man OPTIMIZE="-O2 -g -Wall"
+	#perl Build.PL PREFIX=/usr DATADIR=/usr/share/games LOCALEDIR=/usr/share/locale LIBDIR=/usr/lib/games BINDIR=/usr/games MANDIR=/usr/share/man OPTIMIZE="-O2 -g -Wall"
+	perl Build.PL --installdirs vendor --install_path lib=/usr/lib/games --install_path bin=/usr/games --install_path bindoc=/usr/share/man 
 
 
 override_dh_install: 
 	#$(MAKE) install PREFIX=$(DEST_DIR) DATADIR=$(DEST_DIR)/share/games LOCALEDIR=$(DEST_DIR)/share/locale LIBDIR=$(DEST_DIR)/lib/games BINDIR=$(DEST_DIR)/games MANDIR=$(DEST_DIR)/share/man INSTALLDIRS=vendor
-	cd $(DEST_DIR)/share/locale && chmod 644 */LC_MESSAGES/*.mo
+	#cd $(DEST_DIR)/share/locale && chmod 644 */LC_MESSAGES/*.mo
 	dh_install
-	cd share/icons && \
+	cd $(DEST_DIR)/share/icons && \
 		for i in frozen-bubble-icon-*.png; do \
 		  size=$${i%.png}; size=$${size#frozen-bubble-icon-}; \
 		  dirname=../../debian/frozen-bubble/usr/share/icons/hicolor/"$$size"/apps; \
 		  mkdir -p $$dirname; \
 		  cp "$$i" $$dirname/frozen-bubble.png; \
-		done
+		done
\ No newline at end of file

-- 
Packaging of frozen-bubble game in Debian



More information about the Pkg-perl-cvs-commits mailing list