aboutsummaryrefslogtreecommitdiff
path: root/recipes/litephone/litephone_git.bb
blob: 4e640a6006efe6a227527cc010314e0ff91f3cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require litephone.inc

SRCREV = "4c9f16d9acc6cd18fc3f647b7e4f44a2d3bdd7b6"
PV = "0.1+gitr${SRCPV}"
PR = "${INC_PR}.1"

SRC_URI = "git://git.senfdax.de/git/litephone;protocol=http \
           file://litephone.desktop"

S = "${WORKDIR}/git/"

do_install() {
    install -d ${D}/${datadir}/pixmaps
    install -m 644 ${S}/pics/blue/Mobile.png ${D}/${datadir}/pixmaps/litephone-mobile.png
    install -d ${D}/${bindir}
    install -m 0755 ${S}/litephone ${D}/${bindir}
    install -d ${D}/etc/litephone
    install ${S}/style_sheet.conf ${D}/etc/litephone/
    install -d ${D}/${datadir}/litephone/translations
    install ${S}/translations/*.qm ${D}/${datadir}/litephone/translations/
    install -d ${D}/${datadir}/applications
    install ${WORKDIR}/litephone.desktop ${D}/${datadir}/applications/
}

FILES_${PN}-locale-pl-pl += "/usr/share/litephone/translations/litephone_pl.qm"
PACKAGES =+ "${PN}-locale-pl-pl"