summaryrefslogtreecommitdiff
path: root/recipes/libosip2
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libosip2')
-rw-r--r--recipes/libosip2/libosip2_2.2.2.bb19
-rw-r--r--recipes/libosip2/libosip2_3.1.0.bb12
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes/libosip2/libosip2_2.2.2.bb b/recipes/libosip2/libosip2_2.2.2.bb
new file mode 100644
index 0000000000..2258309db9
--- /dev/null
+++ b/recipes/libosip2/libosip2_2.2.2.bb
@@ -0,0 +1,19 @@
+SECTION = "libs"
+DESCRIPTION = "Session Initiation Protocol (SIP) library"
+LEAD_SONAME = "libosip2\..*"
+PR = "r0"
+LICENSE = "LGPL"
+SRC_URI = "${GNU_MIRROR}/osip/libosip2-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_libinstall -C src/osip2 -so -a libosip2 ${STAGING_LIBDIR}
+ oe_libinstall -C src/osipparser2 -so -a libosipparser2 ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/osip2/
+ install -d ${STAGING_INCDIR}/osipparser2/
+ install -d ${STAGING_INCDIR}/osipparser2/headers/
+ install include/osip2/*.h ${STAGING_INCDIR}/osip2/
+ install include/osipparser2/*.h ${STAGING_INCDIR}/osipparser2/
+ install include/osipparser2/headers/*.h ${STAGING_INCDIR}/osipparser2/headers/
+}
diff --git a/recipes/libosip2/libosip2_3.1.0.bb b/recipes/libosip2/libosip2_3.1.0.bb
new file mode 100644
index 0000000000..0c6e23ce17
--- /dev/null
+++ b/recipes/libosip2/libosip2_3.1.0.bb
@@ -0,0 +1,12 @@
+SECTION = "libs"
+DESCRIPTION = "Session Initiation Protocol (SIP) library"
+LEAD_SONAME = "libosip2\..*"
+PR = "r0"
+LICENSE = "LGPL"
+SRC_URI = "${GNU_MIRROR}/osip/libosip2-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}