aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/otpkeygen/otpkeygen_1.3.0.bb
blob: caef395ea7591f382d13dd9c4e1d00ddee1e5749 (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
34
DESCRIPTION = "OTP S/Key password generator"
SECTION = "opie/applications"
HOMEPAGE = "http://www.bitrot.de/pda_otpkeygen.html"
AUTHOR = "Thomas Driemeyer <thomas@bitrot.de>"
LICENSE = "GPLv2+"
APPTYPE="binary"
PR = "r3"

SRC_URI = "ftp://ftp.bitrot.de/pub/otpkeygen/otpkeygen-src_${PV}.tar.gz"

S = "${WORKDIR}/src/"

LIC_FILES_CHKSUM = "file://../LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e \
                    file://main.cpp;beginline=4;endline=10;md5=0101925a966ee97a774f636625851ba5"

inherit palmtop

do_configure_prepend() {
    cd ${S} && qmake -project
}

do_install() {

    install -d ${D}${palmtopdir}/apps/Applications
    install -d ${D}${palmtopdir}/bin/
    install -d ${D}${palmtopdir}/pics/

    install -m 0755 ${WORKDIR}/src/src ${D}${palmtopdir}/bin/otpkeygen
    install -m 0644 ${WORKDIR}/apps/Applications/otpkeygen.desktop ${D}${palmtopdir}/apps/Applications/
    install -m 0644 ${WORKDIR}/pics/otpkeygen.png ${D}${palmtopdir}/pics/
}

SRC_URI[md5sum] = "ec1c0a93a586361298faebce4fac9dbd"
SRC_URI[sha256sum] = "b6129acb788726ab159ed790a85a625651fff5cdff3a2cd0517f19ccd41c2a54"