From: Henning Heinold Date: Sat, 1 Aug 2009 20:43:16 +0000 (+0200) Subject: libgsm: fix install, don't use hardcoded include path X-Git-Tag: Release-2010-05/1~2697 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c28b135a2728c8232522fd1570d6b13f5555d9c;p=openembedded.git libgsm: fix install, don't use hardcoded include path * bump PR --- diff --git a/recipes/libgsm/libgsm_1.0.12.bb b/recipes/libgsm/libgsm_1.0.12.bb index 9c96f4d39f..d24cbdb8e5 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 }