[oe-commits] Henning Heinold : libgsm: fix install, don't use hardcoded include path

git version control git at git.openembedded.org
Sat Aug 15 16:32:34 UTC 2009


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

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sat Aug  1 22:43:16 2009 +0200

libgsm: fix install, don't use hardcoded include path
* bump PR

---

 recipes/libgsm/libgsm_1.0.12.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/libgsm/libgsm_1.0.12.bb b/recipes/libgsm/libgsm_1.0.12.bb
index 9c96f4d..d24cbdb 100644
--- a/recipes/libgsm/libgsm_1.0.12.bb
+++ b/recipes/libgsm/libgsm_1.0.12.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 #DEPENDS = ""
 LICENSE = "libgsm"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://user.cs.tu-berlin.de/~jutta/gsm/gsm-${PV}.tar.gz \
 	   file://01_makefile.patch;patch=1 \
@@ -28,9 +28,9 @@ do_compile() {
 do_install() {
 	oe_libinstall -a -C lib libgsm ${D}${libdir}
         oe_libinstall -so -C lib libgsm ${D}${libdir}
-        install -d ${D}/usr/include/gsm
-        install -m 0644 ${S}/inc/gsm.h ${D}/usr/include/gsm/
-	cd ${D}/usr/include/
+        install -d ${D}${includedir}/gsm
+        install -m 0644 ${S}/inc/gsm.h ${D}${includedir}/gsm/
+	cd ${D}${includedir}
 	ln -s gsm/gsm.h gsm.h
 }
 





More information about the Openembedded-commits mailing list