ortp: fix staging
authorKoen Kooi <koen@openembedded.org>
Fri, 26 Sep 2008 13:19:19 +0000 (13:19 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 26 Sep 2008 13:19:19 +0000 (13:19 +0000)
packages/ortp/ortp_0.7.1.bb

index 897d909..c05e9d5 100644 (file)
@@ -1,12 +1,20 @@
-PR = "r0"
+DESCRIPTION = "An LGPL implementation of RTP - RFC3550"
 LICENSE = "LGPL"
 DEPENDS = "glibc "
-DESCRIPTION = "An LGPL implementation of RTP - RFC3550"
+
+PR = "r1"
 
 inherit autotools pkgconfig
 
 SRC_URI = "http://download.savannah.nongnu.org/releases/linphone/${PN}/sources/${P}.tar.gz"
 
+do_compile_append() {
+        sed -i -e s:${STAGING_DIR_TARGET}::g \
+               -e s:/${TARGET_SYS}::g \
+                  ortp.pc
+
+}
+
 do_stage () {
        autotools_stage_all
 }