blob: 63077c4ff7aedb088d10f710d24c6de76982b5a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
SECTION = "console/network"
DESCRIPTION = "MobileMesh mobile ad-hoc routing protocol"
HOMEPAGE = "http://www.mitre.org/work/tech_transfer/mobilemesh/"
LICENSE = "GPL"
DEPENDS = "openssl"
SRC_URI = "http://download.berlin.freifunk.net/meshcube.org/nylon/stable/sources/mobilemesh_1.2.tgz"
PR = "r1"
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}/mobilemesh.init ${D}${sysconfdir}/init.d/mobilemesh
}
FILES_${PN}-dbg += "${sysconfdir}/mobilemesh/mmtodot.debug ${sysconfdir}/mobilemesh/mmborder.debug \
${sysconfdir}/mobilemesh/mmrp.debug ${sysconfdir}/mobilemesh/mmdiscover.debug"
CONFFILES_${PN}_nylon = "${sysconfdir}/mobilemesh/mmrp.conf ${sysconfdir}/mobilemesh/mmdiscover.conf"
SRC_URI[md5sum] = "d428c743de00ed7165c5eae37bfe4f5b"
SRC_URI[sha256sum] = "06e814ae5910368dd14abb6228b7d3a5e2f504ef9c7b766364cfd4b8c9c04ddd"
|