summaryrefslogtreecommitdiff
path: root/recipes/litephone/litephone_git.bb
blob: e209a1c0caeed745307512c0386267ffba6ec956 (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${SRCREV}"
PR = "${INC_PR}.0"

SRC_URI = "git://git.senfdax.de/git/litephone;protocol=http \
           file://files/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}/files/litephone.desktop ${D}/${datadir}/applications/
}

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