summaryrefslogtreecommitdiff
path: root/recipes/libdotdesktop/libdotdesktop_0.11.bb
blob: d7014ce44198456089b70165e5a5885869497b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SECTION = "libs"
DESCRIPTION = "library for extracting mime data from .desktop files."
DEPENDS = "glib-2.0"
LICENSE = "GPL"
inherit pkgconfig

SRC_URI = "${GPE_MIRROR}/libdotdesktop-${PV}.tar.gz \
	file://make_build_var.patch;patch=1"

headers = "dotdesktop.h"

do_stage () {
	oe_libinstall -so libdotdesktop ${STAGING_LIBDIR}
        mkdir -p ${STAGING_INCDIR}/gpe
        for h in ${headers}; do
                install -m 0644 ${S}/$h ${STAGING_INCDIR}/gpe/$h
        done
}

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