mplayer-common: fix arch and install
authorHenning Heinold <heinold@inf.fu-berlin.de>
Thu, 26 Nov 2009 21:22:07 +0000 (22:22 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 30 Nov 2009 01:00:14 +0000 (02:00 +0100)
* set install dir to sysconfdir
* package-arch is now ALL
* bump PR

recipes/mplayer/mplayer-common.bb

index 3f3d5d2..18da2ad 100644 (file)
@@ -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"
 }