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

inherit pkgconfig

SRC_URI = "ftp://gpe.handhelds.org/gpe/source/libdotdesktop-${PV}.tar.gz \
	file://${FILESDIR}/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
}