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

inherit gpe

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

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

headers = "xsettings-common.h"

do_install () {
        gpe_do_install
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel

        oe_libinstall -so libXsettings ${D}${libdir}
        install -d ${D}${includedir}/gpe
        for h in ${headers}; do
                install -m 0644 ${S}/$h ${D}${includedir}/$h
        done
}

DEFAULT_PREFERENCE = "-1"