summaryrefslogtreecommitdiff
path: root/packages/kdepimpi/pwmpi.inc
blob: c737d40e83d6d0c34b60e8a2a9071bd8c30bbc8c (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
40
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}${palmtopdir}/bin \
               ${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}${palmtopdir}/bin/
}

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