summaryrefslogtreecommitdiff
path: root/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond-extraconf.inc
blob: b2da5d894cbaffd84a5b3c72ed85424bd6b382be (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
inherit useradd

USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} += "--system gsignond"

do_compile() {
    cd ${S}
    LANG=C
    export LANG
    unset DISPLAY
    LD_AS_NEEDED=1; export LD_AS_NEEDED ;

    autotools_do_configure
    oe_runmake -j1
}

pkg_postinst_${PN}() {
    #!/bin/sh -e

    [ "x$D" == "x" ] && ldconfig
    chmod u+s $D${prefix}/bin/gsignond
}

FILES_${PN}-dbg += "/usr/lib/gsignond/extensions/.debug/libextension-test.so"
FILES_${PN}-dbg += "/usr/lib/gsignond/extensions/.debug/libextension-tizen.so"
FILES_${PN}-dbg += "/usr/lib/gsignond/pluginloaders/.debug/gsignond-plugind"
FILES_${PN}-dbg += "/usr/lib/gsignond/gplugins/.debug/libpassword.so"
FILES_${PN}-dbg += "/usr/lib/gsignond/gplugins/.debug/libdigest.so"
FILES_${PN}-dbg += "/usr/lib/gsignond/gplugins/.debug/libssotest.so"