mpd: Initial add 0.17.1

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2012-06-05 16:44:12 +02:00
parent 1eed7a3304
commit 242c972502
3 changed files with 478 additions and 0 deletions
@@ -0,0 +1,14 @@
PRINC := "${@int(PRINC) + 1}"
inherit systemd
EXTRA_OECONF += "--with-systemdsystemunitdir=${systemd_unitdir}/system"
do_install_append() {
sed -i \
's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \
${D}/${systemd_unitdir}/system/mpd.service
}
SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "mpd.service"