[oe-commits] Steve Sakoman : gpe-clock: Fix install: Don't do install -s

GIT User account git at amethyst.openembedded.net
Fri May 8 16:39:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 928da8f0272d0a7f6ba84999e1cd264110cdb4aa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=928da8f0272d0a7f6ba84999e1cd264110cdb4aa

Author: Steve Sakoman <steve at sakoman.com>
Date:   Fri May  8 18:23:54 2009 +0200

gpe-clock: Fix install: Don't do install -s

---

 recipes/gpe-clock/files/fix-install.patch |   13 +++++++++++++
 recipes/gpe-clock/gpe-clock.inc           |    2 ++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/recipes/gpe-clock/files/fix-install.patch b/recipes/gpe-clock/files/fix-install.patch
new file mode 100644
index 0000000..2d3e303
--- /dev/null
+++ b/recipes/gpe-clock/files/fix-install.patch
@@ -0,0 +1,13 @@
+diff --git gpe-clock-0.25/Makefile-orig gpe-clock-0.25/Makefile
+index 4fa59bf..e716fcb 100644
+--- gpe-clock-0.25/Makefile-orig
++++ gpe-clock-0.25/Makefile
+@@ -36,7 +36,7 @@ $(PACKAGE): $(OBJS)
+ 
+ install-program: all
+ 	install -d $(DESTDIR)$(PREFIX)/bin
+-	install -s $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
++	install $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
+ 	install -d $(DESTDIR)$(PREFIX)/share/pixmaps
+ 	install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/
+ 	install -d $(DESTDIR)$(PREFIX)/share/applications
diff --git a/recipes/gpe-clock/gpe-clock.inc b/recipes/gpe-clock/gpe-clock.inc
index d4ae3da..b36fa7d 100644
--- a/recipes/gpe-clock/gpe-clock.inc
+++ b/recipes/gpe-clock/gpe-clock.inc
@@ -6,3 +6,5 @@ DEPENDS = "gtk+ libschedule libgpewidget gpe-announce atd libgpelaunch"
 RDEPENDS = "gpe-announce"
 
 inherit gpe
+
+SRC_URI += "file://fix-install.patch;patch=1"





More information about the Openembedded-commits mailing list