summaryrefslogtreecommitdiff
path: root/packages/otpkeygen/otpkeygen_1.3.0.bb
blob: 786c5ab8352802dead95d5b9a0e4004f77c59954 (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
DESCRIPTION = "OTP S/Key password generator"
SECTION = "opie/applications"
HOMEPAGE = "http://www.bitrot.de/pda_otpkeygen.html"
AUTHOR = "Thomas Driemeyer <thomas@bitrot.de>"
MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
LICENSE = "GPL"
APPTYPE="binary"
PR = "r2"

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

S = "${WORKDIR}/src/"

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/
    install -m 0644 ${WORKDIR}/apps/Applications/otpkeygen.desktop ${D}${palmtopdir}/apps/Applications/
    install -m 0644 ${WORKDIR}/pics/otpkeygen.png ${D}${palmtopdir}/pics/
}