summaryrefslogtreecommitdiff
path: root/recipes/stopwatch/stopwatch_1.4.0.bb
blob: 91a19486b625d97a143d38e922b4a4f8dbd5be4b (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
27
28
29
30
31
32
33
DESCRIPTION = "Simple Qt based stop watch"
AUTHOR = "Christof Musik"
SECTION = "x11/applications"
PRIORITY = "optional"
HOMEPAGE = "http://git.senfdax.de"
LICENSE = "GPL QPL"
PR = "r0"

inherit qt4x11

SRC_URI = "http://openmoko.senfdax.de/sources/${PN}-${PV}.tar.gz;name=archive"

SRC_URI[archive.md5sum] = "6cc756ea7a8fb94352eb2842d170f16c"
SRC_URI[archive.sha256sum] = "ef4fdbb3ab44e950a56c55e38dd5ffc449f736fb5d99d2befe5bbfc715bcb919"

do_configure() {
    ${OE_QMAKE_QMAKE}
}

do_compile() {
    oe_runmake
}

do_install() {
    install -d ${D}/${bindir}
    install -m 0755 ${S}/stopwatch ${D}/${bindir}
    install -d ${D}/${datadir}/applications
    install ${S}/desktop/stopwatch.desktop ${D}/${datadir}/applications/
    install -d ${D}/${datadir}/pixmaps
    install ${S}/desktop/stopwatch.png ${D}/${datadir}/pixmaps/
    install -d ${D}/${datadir}/${PN}
    install ${S}/desktop/om.style ${D}/${datadir}/${PN}/
}