opendreambox 2.0
[opendreambox.git] / meta-opendreambox / recipes-dreambox / tuxcom / tuxbox-tuxcom-32bpp.bb
1 DESCRIPTION = "TuxCom for dreambox 8000/32bit framebuffer"
2 LICENSE = "Proprietary"
3 DEPENDS = "freetype"
4 SRCDATE = "20060123"
5 PV = "0.0+cvs${SRCDATE}"
6
7 SRC_URI = "cvs://anoncvs@cvs.tuxbox.org/cvs/tuxbox;module=apps/tuxbox/plugins/tuxcom;method=ext \
8         file://makefiles.diff \
9         file://add_font.diff \
10         file://32bpp.diff \
11         file://add_e2_plugin.diff \
12         file://add_advanced_rc.diff \
13         file://support_newer_freetype.patch"
14
15 S = "${WORKDIR}/tuxcom"
16
17 inherit autotools
18
19 EXTRA_OECONF = "--with-target=native"
20
21 do_configure_prepend() {
22         touch ${S}/python/__init__.py
23 }
24 do_install() {
25         install -d ${D}/etc/tuxcom
26         install -d ${D}/usr/plugins
27         install -d ${D}/usr/share/fonts
28         install -d ${D}/usr/lib/enigma2/python/Plugins/Extensions/Tuxcom
29         install -m 0755 ${S}/tuxcom ${D}/usr/plugins/tuxcom
30         install -m 0644 ${S}/tuxcom.cfg ${D}/etc/tuxcom/tuxcom.cfg
31         install -m 0644 ${S}/font/pakenham.ttf ${D}/usr/share/fonts/pakenham.ttf
32         install -m 0644 ${S}/python/__init__.py ${D}/usr/lib/enigma2/python/Plugins/Extensions/Tuxcom/__init__.py
33         install -m 0644 ${S}/python/plugin.py ${D}/usr/lib/enigma2/python/Plugins/Extensions/Tuxcom/plugin.py
34 }
35
36 PACKAGES = "${PN}-dbg ${PN}"
37
38 FILES_${PN}-dbg = "/usr/plugins/.debug"
39 FILES_${PN} = "/etc/tuxcom/tuxcom.cfg /usr/plugins/tuxcom /usr/share/fonts/pakenham.ttf /usr/lib/enigma2/python/Plugins/Extensions/Tuxcom/__init__.py \
40                 /usr/lib/enigma2/python/Plugins/Extensions/Tuxcom/plugin.py"
41
42 CPPFLAGS += "-DHAVE_DREAMBOX_HARDWARE -DDREAMBOX"