summaryrefslogtreecommitdiff
path: root/unik-olsrd
diff options
context:
space:
mode:
Diffstat (limited to 'unik-olsrd')
-rw-r--r--unik-olsrd/unik-olsrd_0.4.7.oe3
-rw-r--r--unik-olsrd/unik-olsrd_cvs.oe28
2 files changed, 31 insertions, 0 deletions
diff --git a/unik-olsrd/unik-olsrd_0.4.7.oe b/unik-olsrd/unik-olsrd_0.4.7.oe
index 026693b648..7eb7abe6a7 100644
--- a/unik-olsrd/unik-olsrd_0.4.7.oe
+++ b/unik-olsrd/unik-olsrd_0.4.7.oe
@@ -24,3 +24,6 @@ do_install () {
install -d ${D}/etc/init.d
install -m 0755 ${WORKDIR}/unik-olsrd ${D}/${sysconfdir}/init.d
}
+
+CONFFILES_${PN} = "/etc/olsrd.conf"
+
diff --git a/unik-olsrd/unik-olsrd_cvs.oe b/unik-olsrd/unik-olsrd_cvs.oe
index e69de29bb2..49cba1e966 100644
--- a/unik-olsrd/unik-olsrd_cvs.oe
+++ b/unik-olsrd/unik-olsrd_cvs.oe
@@ -0,0 +1,28 @@
+DESCRIPTION = "OLSR mesh routing daemon"
+DESCRIPTION_unik-olsrd-libs = "OLSR mesh routing daemon - optional libraries"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "cvs${CVSDATE}"
+
+SRC_URI="cvs://anonymous@cvs.sourceforge.net/cvsroot/olsrd;module=olsrd-current \
+ file://unik-olsrd"
+
+PACKAGES =+ "unik-olsrd-libs"
+FILES_unik-olsrd-libs = "${libdir}"
+
+S = "${WORKDIR}/olsrd-current"
+
+do_compile() {
+ oe_runmake OS=linux all libs
+}
+
+do_install () {
+ oe_runmake PREFIX=${D} install install_libs
+ install -d ${D}/etc/init.d
+ install -m 0755 ${WORKDIR}/unik-olsrd ${D}/${sysconfdir}/init.d
+}
+
+CONFFILES_${PN} = "/etc/olsrd.conf"
+