aboutsummaryrefslogtreecommitdiffstats
path: root/packages/mt-daapd/mt-daapd_0.2.1.1.bb
blob: 5fe3961f7afdaf0fdd168e9e6d0dc5e531455b5c (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
DESCRIPTION = "multi threaded daap server for POSIX Systems: iTunes Server."
SECTION = "console/network"
PRIORITY = "optional"
MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>"
DEPENDS = "zlib gdbm libid3tag"
PR = "r2"
LICENSE = "GPL"

SRC_URI = "http://optusnet.dl.sourceforge.net/sourceforge/mt-daapd-0.2.1.1.tar.gz \
	   file://mt-daapd.init"
S = "${WORKDIR}/mt-daapd-0.2.1.1/"

inherit autotools update-rc.d

INITSCRIPT_NAME = "mt-daapd"
INITSCRIPT_PARAMS = "defaults 84"

EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes"

do_install() {
	autotools_do_install
	install -d ${D}${sysconfdir}
	install -d ${D}${sysconfdir}/init.d
	install -m 0644 ${S}contrib/mt-daapd.conf ${D}${sysconfdir}
	install -m 0755 ${WORKDIR}/mt-daapd.init ${D}${sysconfdir}/init.d/mt-daapd
}

CONFFILES_${PN} = "${sysconfdir}/mt-daapd.conf"