summaryrefslogtreecommitdiff
path: root/libdotdesktop/libdotdesktop_0.11.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libdotdesktop/libdotdesktop_0.11.oe')
-rw-r--r--libdotdesktop/libdotdesktop_0.11.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/libdotdesktop/libdotdesktop_0.11.oe b/libdotdesktop/libdotdesktop_0.11.oe
index e69de29bb2..62ff1e7a05 100644
--- a/libdotdesktop/libdotdesktop_0.11.oe
+++ b/libdotdesktop/libdotdesktop_0.11.oe
@@ -0,0 +1,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
+}
+