aboutsummaryrefslogtreecommitdiff
path: root/recipes/multimedia/multimedia_1.0.bb
blob: 2abfefa390bfe2e89a57b0a2f953d0b60ced0d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 \
	"