summaryrefslogtreecommitdiff
path: root/packages/libxsettings/libxsettings_svn.bb
blob: 3771b94502e13df66263969fd41ad65f61fbc55c (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}"
FILE_PR = "r0"

inherit gpe

SRC_URI = "${GPE_SVN} \
           file://libxsettings-svn-makefile-fix.patch;patch=1 \
           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"