blob: 9acc33018ce7d7124530f9fa2334af5489edcaa5 (
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
|
SRC_URI = "http://www.porchdogsoft.com/download/howl-${PV}.tar.gz \
file://posix.patch;patch=1;pnum=0 \
file://configure.patch;patch=1;pnum=0 \
file://mdnsresponder.init"
LICENSE = "howl"
PR = "r2"
INITSCRIPT_NAME = "mdnsresponder"
INITSCRIPT_PARAMS = "defaults"
PACKAGES += "libhowl libmdnsresponder"
FILES_${PN} = "${bindir} ${sbindir} ${sysconfdir}"
FILES_libhowl = "${libdir}/libhowl.so.*"
FILES_libmdnsresponder = "${libdir}/libmDNSResponder.so.*"
FILES_${PN}-doc += "${datadir}/howl/help"
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/mdnsresponder.init ${D}${sysconfdir}/init.d/mdnsresponder
# Debian puts it here, so let's do the same
mv ${D}${bindir}/mDNSResponder ${D}${sbindir}
}
inherit autotools update-rc.d
|