summaryrefslogtreecommitdiff
path: root/packages/libmsip
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libmsip')
-rw-r--r--packages/libmsip/libmsip0_0.2.2.bb23
-rw-r--r--packages/libmsip/libmsip0_svn.bb25
2 files changed, 48 insertions, 0 deletions
diff --git a/packages/libmsip/libmsip0_0.2.2.bb b/packages/libmsip/libmsip0_0.2.2.bb
index e69de29bb2..2dbcd6e87e 100644
--- a/packages/libmsip/libmsip0_0.2.2.bb
+++ b/packages/libmsip/libmsip0_0.2.2.bb
@@ -0,0 +1,23 @@
+LICENSE = LGPL
+
+DESCRIPTION = "C++ implementation Session Initiation Protocol (RFC3261)"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libmnetutil0 libmutil0"
+
+inherit autotools
+
+SRC_URI = "http://www.minisip.org/snapshots/libmsip-${PV}.tar.gz"
+S="${WORKDIR}/libmsip-${PV}"
+
+
+PACKAGES = "${PN}"
+
+FILES_${PN} = " ${libdir}/libmsip.so.0 ${libdir}/libmsip.so.0.0.0 "
+
+do_stage() {
+ oe_libinstall -a -so libmsip ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/libmsip
+ install -m 0644 ${S}/include/libmsip/* ${STAGING_INCDIR}/libmsip
+}
diff --git a/packages/libmsip/libmsip0_svn.bb b/packages/libmsip/libmsip0_svn.bb
index e69de29bb2..b8550fb6ee 100644
--- a/packages/libmsip/libmsip0_svn.bb
+++ b/packages/libmsip/libmsip0_svn.bb
@@ -0,0 +1,25 @@
+PV = "0.2.2svn${CVSDATE}"
+LICENSE = LGPL
+
+DESCRIPTION = "C++ implementation Session Initiation Protocol (RFC3261)"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libmnetutil0 libmutil0"
+DEFAULT_PREFERENCE=-1
+
+inherit autotools
+
+SRC_URI = "svn://svn.minisip.org/var/svn/minisip/trunk;module=libmsip"
+S="${WORKDIR}/libmsip"
+
+
+PACKAGES = "${PN}"
+
+FILES_${PN} = " ${libdir}/libmsip.so.0 ${libdir}/libmsip.so.0.0.0 "
+
+do_stage() {
+ oe_libinstall -a -so libmsip ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/libmsip
+ install -m 0644 ${S}/include/libmsip/* ${STAGING_INCDIR}/libmsip
+}