summaryrefslogtreecommitdiff
path: root/recipes/mplayer/mplayer-common.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-25 18:06:08 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-25 18:06:08 +0100
commit3dab0f1f3b821e3375491d3fd1230362b3c5c776 (patch)
tree7c275922ef02b11ea6ea269c61ba2648f8fc56a6 /recipes/mplayer/mplayer-common.bb
parent62638bf0c0d64d325b804145192801c74361f7df (diff)
mplayer-common: undo /usr/etc -> /etc breakage, our mplayer really only looks in /usr/etc/mplayer!
Diffstat (limited to 'recipes/mplayer/mplayer-common.bb')
-rw-r--r--recipes/mplayer/mplayer-common.bb13
1 files changed, 5 insertions, 8 deletions
diff --git a/recipes/mplayer/mplayer-common.bb b/recipes/mplayer/mplayer-common.bb
index 9737c5279b..99bc54de5d 100644
--- a/recipes/mplayer/mplayer-common.bb
+++ b/recipes/mplayer/mplayer-common.bb
@@ -1,23 +1,20 @@
-#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
# License: MIT (see COPYING.MIT)
-#
-# Filename: mplayer-common.bb
-# Date: 26-Mar-06
DESCRIPTION = "Preconfigured mplayer preferences"
PV = "0.0.1"
-PR = "r3"
+PR = "r4"
SRC_URI = "file://mplayer.conf"
+# Yes, really /usr/etc!!!
do_install() {
- install -d "${D}${sysconfdir}/mplayer"
+ install -d "${D}/usr/${sysconfdir}/mplayer"
- install -m 0644 ${WORKDIR}/mplayer.conf "${D}${sysconfdir}/mplayer"
+ install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr/${sysconfdir}/mplayer"
}
-FILES_${PN} = "${sysconfdir}/mplayer"
+FILES_${PN} = "/usr/${sysconfdir}/mplayer"
PACKAGE_ARCH = "all"