blob: b177923e75054a50ea1f5bbef37e690f86ed237f (
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
|
DESCRIPTION = "micro_evtd daemon for ARM Linkstations and Kurobox Pro"
HOMEPAGE = "http://buffalo.nas-central.org/download/Users/lb_worm/micro_evtd/"
SECTION = "console/network"
PR = "r1"
LICENSE = "GPL"
COMPATIBLE_MACHINE = "(kuropro|lspro)"
SRC_URI = "http://downloads.buffalo.nas-central.org/Users/timtimred/kuropro/micro-evtd-3.3.0.tar.gz"
inherit update-rc.d
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/micro_evtd ${S}/micro_evtd.c
}
do_install() {
install -D -m 0755 ${S}/micro_evtd ${D}${sbindir}/micro_evtd
install -D -m 0644 ${S}/microevtd ${D}${sysconfdir}/default/micro_evtd
install -D -m 0755 ${S}/EventScript ${D}${sysconfdir}/micro_evtd/EventScript
install -D -m 0755 ${S}/init ${D}${sysconfdir}/init.d/micro-evtd
}
INITSCRIPT_NAME = "micro-evtd"
INITSCRIPT_PARAMS = "defaults"
SRC_URI[md5sum] = "2a5353aa1fd028c3cbfdfdec9e38c1bb"
SRC_URI[sha256sum] = "fe3730d1bcca4eaa86f9e39f6524328a58d134b73f1d9261f21e0f89f7b3ca10"
|