[oe-commits] Henning Heinold : mplayer-common: fix arch and install
git version control
git at git.openembedded.org
Mon Nov 30 15:54:55 UTC 2009
Module: openembedded.git
Branch: shr-testing2009
Commit: 646a3f5e077a61bb17e2650f6c0aa7b35e71cb0f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=646a3f5e077a61bb17e2650f6c0aa7b35e71cb0f
Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date: Thu Nov 26 22:22:07 2009 +0100
mplayer-common: fix arch and install
* set install dir to sysconfdir
* package-arch is now ALL
* bump PR
---
recipes/mplayer/mplayer-common.bb | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes/mplayer/mplayer-common.bb b/recipes/mplayer/mplayer-common.bb
index 3f3d5d2..18da2ad 100644
--- a/recipes/mplayer/mplayer-common.bb
+++ b/recipes/mplayer/mplayer-common.bb
@@ -11,7 +11,9 @@ HOMEPAGE = "http://www.hentges.net/misc/openzaurus/index.shtml"
######################################################################################
PV = "0.0.1"
-PR = "r1"
+PR = "r2"
+
+PACKAGE_ARCH = "all"
######################################################################################
@@ -19,12 +21,12 @@ SRC_URI = "file://mplayer.conf"
######################################################################################
-FILES_${PN} = "/usr/etc/mplayer"
+FILES_${PN} = "${sysconfdir}/mplayer"
######################################################################################
do_install() {
- install -d "${D}/usr/etc/mplayer"
+ install -d "${D}${sysconfdir}/mplayer"
- install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr/etc/mplayer"
+ install -m 0644 ${WORKDIR}/mplayer.conf "${D}${sysconfdir}/mplayer"
}
More information about the Openembedded-commits
mailing list