diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-19 17:08:09 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-19 17:08:09 +0100 |
commit | bf8f4198ab40c068efa23df954ca09e2461c6741 (patch) | |
tree | 2cd5c691361ad1b073b33fe7c55421e0f117716c | |
parent | d712bfd490d7899c32d8768f59a1165a344764f2 (diff) |
mpd: add fix from mpd-alsa
-rw-r--r-- | packages/musicpd/mpd_0.14.2.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/musicpd/mpd_0.14.2.bb b/packages/musicpd/mpd_0.14.2.bb index 80a4857bcb..fee254e874 100644 --- a/packages/musicpd/mpd_0.14.2.bb +++ b/packages/musicpd/mpd_0.14.2.bb @@ -8,6 +8,8 @@ DEPENDS = "libvorbis libogg libao zlib libmikmod flac audiofile virtual/libiconv SRC_URI = "${SOURCEFORGE_MIRROR}/musicpd/mpd-${PV}.tar.bz2 \ file://mpd/mpd.init" +PR = "r1" + inherit autotools update-rc.d INITSCRIPT_NAME = "mpd" @@ -32,3 +34,9 @@ EXTRA_OECONF = "\ do_compile_prepend() { find -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g' } + +do_install_append() { + install -d ${D}${sysconfdir}/init.d + install -m 755 ${WORKDIR}/mpd/mpd.init ${D}${sysconfdir}/init.d/mpd +} + |