Merge branch 'org.openembedded.dev' of git@git.openembedded.net:/openembedded into...
[vuplus_openembedded] / packages / mt-daapd / mt-daapd.inc
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"
7
8 SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
9            file://${PN}.init"
10
11 inherit autotools update-rc.d
12
13 INITSCRIPT_NAME = "${PN}"
14 INITSCRIPT_PARAMS = "defaults 84"
15
16 EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes"
17
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}
24 }
25
26 CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"