1 DESCRIPTION = "OLSR mesh routing daemon"
2 HOMEPAGE = "http://www.olsr.org"
3 SECTION = "console/network"
7 MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
8 SRC_URI = "http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \
12 S = "${WORKDIR}/olsrd-${PV}"
16 INITSCRIPT_NAME = "olsrd"
17 INITSCRIPT_PARAMS = "defaults"
18 EXTRA_OEMAKE = "MAKEFLAGS=-I${WORKDIR}/olsrd-${PV}"
21 oe_runmake OS=linux clean
25 oe_runmake OS=linux clean
27 touch src/cfgparser/.depend
28 oe_runmake OS=linux all libs
32 oe_runmake OS=linux INSTALL_PREFIX=${D} STRIP=echo install install_libs
34 install -d ${D}/${sysconfdir}/init.d
35 install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/olsrd
36 install -m 644 ${WORKDIR}/olsrd.conf ${D}/${sysconfdir}
41 olsrd-plugin-dyngw-plain \
42 olsrd-plugin-httpinfo \
43 olsrd-plugin-nameservice \
48 olsrd-plugin-txtinfo \
49 olsrd-plugin-arprefresh \
51 olsrd-plugin-dotdraw \
55 FILES_olsrd-plugin-dyngw = "${libdir}/${PN}_dyn_gw.so.*"
56 FILES_olsrd-plugin-dyngw-plain = "${libdir}/${PN}_dyn_gw_plain.so.*"
57 FILES_olsrd-plugin-httpinfo = "${libdir}/${PN}_httpinfo.so.*"
58 FILES_olsrd-plugin-nameservice = "${libdir}/${PN}_nameservice.so.*"
59 FILES_olsrd-plugin-quagga = "${libdir}/${PN}_quagga.so.*"
60 FILES_olsrd-plugin-tas = "${libdir}/${PN}_tas.so.*"
61 FILES_olsrd-plugin-pgraph = "${libdir}/${PN}_pgraph.so.*"
62 FILES_olsrd-plugin-bmf = "${libdir}/${PN}_bmf.so.*"
63 FILES_olsrd-plugin-txtinfo = "${libdir}/${PN}_txtinfo.so.*"
64 FILES_olsrd-plugin-arprefresh = "${libdir}/${PN}_arprefresh.so.*"
65 FILES_olsrd-plugin-dotdraw = "${libdir}/${PN}_dot_draw.so.*"
66 FILES_olsrd-plugin-secure = "${libdir}/${PN}_secure.so.*"
67 FILES_olsrd-plugin-mini = "${libdir}/${PN}_mini.so.*"
69 CONFFILES_${PN} = "${sysconfdir}/olsrd.conf"