Merge branch 'opendreambox-1.6' into vuplus-1.6
[vuplus_openembedded] / recipes / opie-pics / opie-pics.inc
1 DESCRIPTION = "Common Opie pictures usable from all applications"
2 SECTION = "opie/base"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 PR = "r2"
6
7 S = "${WORKDIR}"
8
9 SHIP_INLINE_PICS = "yes"
10 INLINE_PICS = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "pics-hires/inline", "pics/inline", d)}'
11
12 do_install() {
13         install -d ${D}${palmtopdir}/pics/addressbook/
14         install -d ${D}${palmtopdir}/pics/datebook/
15         install -d ${D}${palmtopdir}/pics/todo/
16         install -d ${D}${palmtopdir}/pics/opie/
17         install -m 0664 pics/*.png ${D}${palmtopdir}/pics/
18         install -m 0664 pics/addressbook/*.png ${D}${palmtopdir}/pics/addressbook/
19         install -m 0664 pics/datebook/*.png ${D}${palmtopdir}/pics/datebook/
20         install -m 0664 pics/todo/*.png ${D}${palmtopdir}/pics/todo/    
21         install -m 0664 pics/opie/*.png ${D}${palmtopdir}/pics/opie/    
22
23         if [ "${SHIP_INLINE_PICS}" == "yes" ]; then
24                 install -m 0664 ${INLINE_PICS}/*.png ${D}${palmtopdir}/pics/
25         fi
26 }
27
28 FILES_${PN} = "${palmtopdir}"
29 PACKAGE_ARCH = "${MACHINE_ARCH}"
30