summaryrefslogtreecommitdiff
path: root/recipes/libdotdesktop/libdotdesktop_0.11.bb
blob: 5d6ecb5542d2edd2f516046e53141e049038d256 (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
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
}

SRC_URI[md5sum] = "7904caa236fe1797d2b033de7ea70e91"
SRC_URI[sha256sum] = "e0089d1b643bf70626159bfacb367118015f69a589740458ec10000e40b9508e"