summaryrefslogtreecommitdiff
path: root/recipes/libxsettings/libxsettings_svn.bb
blob: 11479af4aa6e8fe0001757390197d02ae01c0762 (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
DESCRIPTION = "Common code for XSETTINGS"
SECTION = "gpe/libs"
PRIORITY = "optional"
LICENSE = "BSD-X"
DEPENDS = "virtual/libx11"
PV = "0.11+svn${SRCDATE}"
PR = "r0"

inherit gpe

SRC_URI = "${GPE_SVN} \
           file://libxsettings-svn-makefile-fix.patch;apply=yes \
           file://Makefile.dpkg_ipkg \
           file://Makefile.translation"

S = "${WORKDIR}/${PN}"

do_install () {
        gpe_do_install
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel
}
do_stage () {
        oe_libinstall -so libXsettings ${STAGING_LIBDIR}
        mkdir -p ${STAGING_INCDIR}/gpe
        for h in ${headers}; do
                install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
        done
}

headers = "xsettings-common.h"

DEFAULT_PREFERENCE = "-1"