summaryrefslogtreecommitdiff
path: root/recipes/howl/howl_1.0.0.bb
blob: fa2eb343fb0d1f8a69d80876f474439ee180c3a9 (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
SRC_URI = "http://www.porchdogsoft.com/download/howl-${PV}.tar.gz \
	file://posix.patch;striplevel=0 \
	file://configure.patch;striplevel=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


SRC_URI[md5sum] = "c389d3ffba0e69a179de2ec650f1fdcc"
SRC_URI[sha256sum] = "6f0145ab1802092308adeb8dfa285f58e104f0822fa266e5ec97e9d27f0e1923"