blob: ad54982a902bf88c6ab59a7cfd8ef636ff492448 (
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://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
}
|