Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] Add support for user-defined multimedia in rootfs
@ 2011-01-31 20:32 Ulf Samuelsson
  2011-02-11 23:56 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2011-01-31 20:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ulf Samuelsson

---
 recipes/multimedia/multimedia_1.0.bb |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/multimedia/multimedia_1.0.bb

diff --git a/recipes/multimedia/multimedia_1.0.bb b/recipes/multimedia/multimedia_1.0.bb
new file mode 100644
index 0000000..2abfefa
--- /dev/null
+++ b/recipes/multimedia/multimedia_1.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "MultiMedia files"
+LICENSE = "GPL"
+PR = "r5"
+
+# This package allows you to add multimedia contents to the file system
+# To add this, you define 
+# MULTIMEDIA_FILES=<path><filename>.tar.bz2 in local.conf
+# and include "multimedia" in your image
+
+do_install() {
+	install -d ${D}/usr/share/multimedia
+	if [ "x${MULTIMEDIA_FILES}" != "x" ] ; then
+		if [ -f ${MULTIMEDIA_FILES} ] ; then
+			tar jxvf ${MULTIMEDIA_FILES}	-C ${D}/usr/share/multimedia
+		fi
+	fi
+}
+
+FILES_${PN} = "\
+	/usr/share/multimedia/* \
+	/usr/share/multimedia \
+	"
+
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-11 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 20:32 [PATCH] Add support for user-defined multimedia in rootfs Ulf Samuelsson
2011-02-11 23:56 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox