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