opkg-utils: Fix typo and drop duplicate S entry
[openembedded.git] / recipes / mt-daapd / mt-daapd.inc
blob859e586cdf014ea29ac1e369295b921134e76dea
1 DESCRIPTION = "multi threaded daap server for POSIX Systems: iTunes Server."
2 SECTION = "console/network"
3 PRIORITY = "optional"
4 DEPENDS = "zlib gdbm libid3tag \
5            ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libid3tag', d)}"
6 LICENSE = "GPL"
8 SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
9            file://${PN}.init"
11 inherit autotools update-rc.d
13 INITSCRIPT_NAME = "${PN}"
14 INITSCRIPT_PARAMS = "defaults 84"
16 EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes"
18 do_install() {
19         autotools_do_install
20         install -d ${D}${sysconfdir}
21         install -d ${D}${sysconfdir}/init.d
22         install -m 0644 ${S}/contrib/${PN}.conf ${D}${sysconfdir}
23         install -m 0755 ${WORKDIR}/${PN}.init ${D}${sysconfdir}/init.d/${PN}
26 CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"