summaryrefslogtreecommitdiff
path: root/dfb++
diff options
context:
space:
mode:
Diffstat (limited to 'dfb++')
-rw-r--r--dfb++/dfb++_0.9.20.oe29
1 files changed, 29 insertions, 0 deletions
diff --git a/dfb++/dfb++_0.9.20.oe b/dfb++/dfb++_0.9.20.oe
index e69de29bb2..7560c8a2dd 100644
--- a/dfb++/dfb++_0.9.20.oe
+++ b/dfb++/dfb++_0.9.20.oe
@@ -0,0 +1,29 @@
+DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "directfb"
+
+LICENSE = "LGPL"
+
+SRC_URI = "http://www.directfb.org/download/DirectFB/DFB++-${PV}.tar.gz"
+S = "${WORKDIR}/DFB++-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = ""
+
+do_stage() {
+ oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
+ 'oldincludedir=/include' 'datadir=/share' \
+ 'DESTDIR=${STAGING_LIBDIR}/..' \
+ install-dfbppincludeHEADERS
+ oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
+ 'oldincludedir=/include' 'datadir=/share' \
+ 'DESTDIR=${STAGING_LIBDIR}/..' \
+ install-libLTLIBRARIES
+}
+
+
+do_install() {
+ oe_runmake 'DESTDIR=${D}' install
+}