gsoko: Apply fix to suppress strip installing binary.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Tue, 12 May 2009 13:20:35 +0000 (15:20 +0200)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Tue, 12 May 2009 13:22:49 +0000 (15:22 +0200)
recipes/gsoko/gsoko-0.4.2-gpe6/fix_install.patch [new file with mode: 0644]
recipes/gsoko/gsoko_0.4.2-gpe6.bb

diff --git a/recipes/gsoko/gsoko-0.4.2-gpe6/fix_install.patch b/recipes/gsoko/gsoko-0.4.2-gpe6/fix_install.patch
new file mode 100644 (file)
index 0000000..6187e2a
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git gsoko-0.4.2-gpe6/Makefile-orig gsoko-0.4.2-gpe6/Makefile
+index 1db0ce7..d36392a 100644
+--- gsoko-0.4.2-gpe6/Makefile-orig
++++ gsoko-0.4.2-gpe6/Makefile
+@@ -29,7 +29,7 @@ IMGS = box.png box2.png man.png tile.png tile2.png wall.png
+ install-program: gsoko gsoko.desktop
+       install -d $(DESTDIR)$(PREFIX)/bin
+-      install -s gsoko $(DESTDIR)$(PREFIX)/bin/gsoko
++      install gsoko $(DESTDIR)$(PREFIX)/bin/gsoko
+       install -d $(DESTDIR)$(PREFIX)/share/gsoko/img
+       install -d $(DESTDIR)$(PREFIX)/share/gsoko/levels
+       for i in $(LEVELS); do install -m 644 levels/$$i.lev $(DESTDIR)$(PREFIX)/share/gsoko/levels/$$i.lev; done
index 6a34be2..f1a513c 100644 (file)
@@ -6,4 +6,7 @@ DESCRIPTION = "Sokoban game for GTK"
 PRIORITY = "optional"
 PR = "r1"
 
-SRC_URI += "file://fix_makefiles.patch;patch=1"
+SRC_URI += " \
+            file://fix_makefiles.patch;patch=1 \
+            file://fix_install.patch;patch=1 \
+           "