summaryrefslogtreecommitdiff
path: root/mobilemesh/mobilemesh_1.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'mobilemesh/mobilemesh_1.2.oe')
-rw-r--r--mobilemesh/mobilemesh_1.2.oe33
1 files changed, 33 insertions, 0 deletions
diff --git a/mobilemesh/mobilemesh_1.2.oe b/mobilemesh/mobilemesh_1.2.oe
index e69de29bb2..8504760224 100644
--- a/mobilemesh/mobilemesh_1.2.oe
+++ b/mobilemesh/mobilemesh_1.2.oe
@@ -0,0 +1,33 @@
+SECTION = "console/network"
+DESCRIPTION = "MobileMesh mobile ad-hoc routing protocol"
+LICENSE = "GPL"
+DEPENDS = "openssl"
+SRC_URI = "cvs://anoncvs:anoncvs@meshcube.org/data/cvs;module=application/mobilemesh"
+
+S = "${WORKDIR}/mobilemesh"
+
+CXXFLAGS += "-I ."
+LDFLAGS += "-lcrypto -lssl"
+
+do_compile() {
+ oe_runmake depends
+ oe_runmake
+}
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install -d ${D}/${sysconfdir}/mobilemesh
+ install -d ${D}/${sysconfdir}/init.d
+ install -d ${D}/${docdir}
+ install -d ${D}/${mandir}/man8
+ oe_runmake PREFIX=${TARGET_PREFIX} BINDIR=${D}/${sbindir} ETCDIR=${D}/${sysconfdir}/mobilemesh install
+ install ${S}/doc/InternetDrafts/draft* ${D}/${docdir}
+ #install ${S}/doc/man/mm*.ps ${D}/${docdir}
+ install ${S}/doc/man/mm*.pdf ${D}/${docdir}
+ install ${S}/doc/man/mm*.8 ${D}/${mandir}/man8
+ install ${S}/doc/FAQ ${D}/${docdir}
+ install ${S}/doc/INSTALL ${D}/${docdir}
+ install ${S}/doc/LICENSE ${D}/${docdir}
+ install ${S}/doc/README ${D}/${docdir}
+ install ${S}/ipkg/etc/init.d/mobilemesh ${D}/${sysconfdir}/init.d/
+}