summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/libxsettings-client/libxsettings-client_0.14.bb
blob: 1ccb6e4eb6e3d2dcb963e36ee831df3448b4dfaf (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
SECTION = "gpe/libs"
LICENSE = "BSD-X"
PRIORITY = "optional"
DEPENDS = "libxsettings x11"
PR = "r1"

inherit autotools pkgconfig gpe

SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2"
S = ${WORKDIR}/xsettings-client-${PV}

do_configure () {
	X_LIBS=" -L${STAGING_LIBDIR}" oe_runconf
}

headers = "xsettings-client.h xsettings-common.h"
do_stage () {
        oe_libinstall -so libXsettings-client ${STAGING_LIBDIR}
        mkdir -p ${STAGING_INCDIR}
        for h in ${headers}; do
                install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
        done
}