matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / bl / bl_cvs.bb
blob0ec705b30e89d50410c748e514f84e0881434ae0
1 SECTION = "base"
2 LICENSE= "GPL"
3 SRCDATE = "20060814"
4 PV = "0.0+cvs${SRCDATE}"
5 DESCRIPTION = "Command line tool for iPaq backlight control"
7 SRC_URI = "${HANDHELDS_CVS};module=apps/h3600_test \
8 file://nokernelheader.patch;striplevel=0 \
9 file://zaurus-hinge.bl-on \
10 file://zaurus-hinge.bl-off"
13 S = "${WORKDIR}/h3600_test"
14 PR = "r1"
16 inherit pkgconfig
18 FILES_${PN} = "${bindir}"
20 do_configure (){
23 do_compile (){
24 oe_runmake bl CC="${TOOLCHAIN_PATH}/bin/${TARGET_SYS}-gcc -I{STAGING_INCDIR} -L${STAGING_LIBDIR}" AS=${TOOLCHAIN_PATH}/bin/${TARGET_SYS}-as LD=${TOOLCHAIN_PATH}/bin/${TARGET_SYS}-ld
27 do_install () {
28 install -d ${D}${bindir}
29 install -d ${D}/etc/apm/resume.d
30 install -d ${D}/etc/zaurusd/hinge-close.d
31 install -d ${D}/etc/zaurusd/hinge-portrait.d
32 install -d ${D}/etc/zaurusd/hinge-landscape.d
34 install -m 4755 ${S}/bl ${D}${bindir}/bl
36 install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/apm/resume.d/00-backlight-on"
37 install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/zaurusd/hinge-landscape.d/00-backlight-on"
38 install -m 0755 "${WORKDIR}/zaurus-hinge.bl-on" "${D}/etc/zaurusd/hinge-portrait.d/00-backlight-on"
39 install -m 0755 "${WORKDIR}/zaurus-hinge.bl-off" "${D}/etc/zaurusd/hinge-close.d/00-backlight-off"