From 6f53c97f549d7a028bcac511d3430d15dc1b27f8 Mon Sep 17 00:00:00 2001
From: Philip Balister <philip@balister.org>
Date: Sat, 9 May 2009 11:34:04 -0400
Subject: ortp-0.13.1 : Add later version of ortp. Convert to use .inc.        
       * There are later versions, but this version is needed                
 for openbts.

---
 recipes/ortp/ortp.inc       | 20 ++++++++++++++++++++
 recipes/ortp/ortp_0.13.1.bb |  2 ++
 recipes/ortp/ortp_0.7.1.bb  | 18 +-----------------
 3 files changed, 23 insertions(+), 17 deletions(-)
 create mode 100644 recipes/ortp/ortp.inc
 create mode 100644 recipes/ortp/ortp_0.13.1.bb

(limited to 'recipes/ortp')

diff --git a/recipes/ortp/ortp.inc b/recipes/ortp/ortp.inc
new file mode 100644
index 0000000000..c05e9d51cb
--- /dev/null
+++ b/recipes/ortp/ortp.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "An LGPL implementation of RTP - RFC3550"
+LICENSE = "LGPL"
+DEPENDS = "glibc "
+
+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
+}
diff --git a/recipes/ortp/ortp_0.13.1.bb b/recipes/ortp/ortp_0.13.1.bb
new file mode 100644
index 0000000000..ae06320421
--- /dev/null
+++ b/recipes/ortp/ortp_0.13.1.bb
@@ -0,0 +1,2 @@
+require ortp.inc
+
diff --git a/recipes/ortp/ortp_0.7.1.bb b/recipes/ortp/ortp_0.7.1.bb
index c05e9d51cb..0318301cfd 100644
--- a/recipes/ortp/ortp_0.7.1.bb
+++ b/recipes/ortp/ortp_0.7.1.bb
@@ -1,20 +1,4 @@
-DESCRIPTION = "An LGPL implementation of RTP - RFC3550"
-LICENSE = "LGPL"
-DEPENDS = "glibc "
+require ortp.inc
 
 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
-}
-- 
cgit v1.2.3