summaryrefslogtreecommitdiff
path: root/recipes/kdepimpi/pwmpi.inc
blob: 9e3cd8eae7925145bd7d4e48bfeb11f63456195c (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
35
36
37
38
39
DEPENDS_append = "kdepimpi-${PV}"

SUBDIRS="pwmanager/libcrypt/mpi  \
        pwmanager/libcrypt/error  \
        pwmanager/libcrypt/cipher  \
        pwmanager/pwmanager \
        "
export OE_QMAKE_LINK="${CXX}"

OE_QMAKE_CFLAGS_prepend="-I${S}/pwmanager/libcrypt/crypt "
EXTRA_QMAKEVARS_POST += " \
INCLUDEPATH+=${STAGING_INCDIR}/kdepimpi/ \
LIBS+=-L${STAGING_LIBDIR}/kdepimpi/ \
"

do_configure_prepend() {
}

do_stage() {
}

do_unstage() {
}

do_install() {
    install -d ${D}${bindir} \
               ${D}${palmtopdir}/apps/Applications \
               ${D}${palmtopdir}/pics/kdepim/pwmanager/icons16 \
               ${D}${palmtopdir}/pics/kdepim/pwmanager/icons22

    install -m 0644 ${S}/bin/kdepim/pwmanager/*.* ${D}${palmtopdir}/pics/kdepim/pwmanager
    install -m 0644 ${S}/bin/kdepim/pwmanager/icons16/*.png ${D}${palmtopdir}/pics/kdepim/pwmanager/icons16
    install -m 0644 ${S}/bin/kdepim/pwmanager/icons22/*.png ${D}${palmtopdir}/pics/kdepim/pwmanager/icons22
    install -m 0644 pwmanager/pwmanager/pwmanager.desktop ${D}${palmtopdir}/apps/Applications/pwmanager.desktop

    install -m 0755 ${S}/dest/pwmpi ${D}${bindir}
}

FILES_${PN} = "${palmtopdir} ${bindir}"