summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-19 17:08:09 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-19 17:08:09 +0100
commitbf8f4198ab40c068efa23df954ca09e2461c6741 (patch)
tree2cd5c691361ad1b073b33fe7c55421e0f117716c /packages
parentd712bfd490d7899c32d8768f59a1165a344764f2 (diff)
mpd: add fix from mpd-alsa
Diffstat (limited to 'packages')
-rw-r--r--packages/musicpd/mpd_0.14.2.bb8
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
+}
+