[oe] [STABLE][PATCH 31/37] gpe-tetris: Fix install: don't di install -s

koen.kooi at gmail.com koen.kooi at gmail.com
Wed May 13 09:39:10 UTC 2009


From: Steve Sakoman <steve at sakoman.com>

Signed-off-by: Koen Kooi <koen at openembedded.org>
---
 .../gpe-tetris/gpe-tetris-0.6-4/fix-install.patch  |   13 +++++++++++++
 recipes/gpe-tetris/gpe-tetris_0.6-4.bb             |    4 +++-
 2 files changed, 16 insertions(+), 1 deletions(-)
 create mode 100644 recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch

diff --git a/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch b/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch
new file mode 100644
index 0000000..2e32aa5
--- /dev/null
+++ b/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch
@@ -0,0 +1,13 @@
+diff --git gpe-tetris-0.6-4/Makefile-orig gpe-tetris-0.6-4/Makefile
+index 82c7245..27de49f 100644
+--- gpe-tetris-0.6-4/Makefile-orig
++++ gpe-tetris-0.6-4/Makefile
+@@ -46,7 +46,7 @@ install-program: all
+ 	install -m 644 pixmaps/stop.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/stop.png
+ 	install -m 644 pixmaps/pause.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/pause.png
+ 	install -m 644 pixmaps/highscores.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/highscores.png
+-	install -s $(PACKAGE) $(BIN_PATH)/$(PACKAGE)
++	install $(PACKAGE) $(BIN_PATH)/$(PACKAGE)
+ 	install -d $(DESTDIR)$(PREFIX)/share/applications
+ 	install -d $(DESTDIR)$(PREFIX)/share/pixmaps
+ 	install -m 644 gpe-tetris.desktop $(DESTDIR)$(PREFIX)/share/applications/
diff --git a/recipes/gpe-tetris/gpe-tetris_0.6-4.bb b/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
index 4a13d24..aa33b1f 100644
--- a/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
+++ b/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
@@ -1,9 +1,11 @@
 LICENSE = "GPL"
 inherit gpe
+PR = "r1"
+
 
 DESCRIPTION = "GTK+2 port of the well known game, Tetris."
 DEPENDS = "gtk+ libgpewidget gpe-icons"
 SECTION = "gpe"
 PRIORITY = "optional"
 
-
+SRC_URI += "file://fix-install.patch;patch=1"
-- 
1.6.1





More information about the Openembedded-devel mailing list