summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libosip2/.mtn2git_empty0
-rw-r--r--packages/libosip2/libosip2_2.2.2.bb19
2 files changed, 19 insertions, 0 deletions
diff --git a/packages/libosip2/.mtn2git_empty b/packages/libosip2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libosip2/.mtn2git_empty
diff --git a/packages/libosip2/libosip2_2.2.2.bb b/packages/libosip2/libosip2_2.2.2.bb
new file mode 100644
index 0000000000..2258309db9
--- /dev/null
+++ b/packages/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/
+}