Andreas Müller 242c972502 mpd: Initial add 0.17.1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-09-18 15:54:03 +02:00

15 lines
342 B
Plaintext

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"