directfb lite: add package to OE
authorShane Volpe <shanevolpe@gmail.com>
Sat, 10 Feb 2007 19:27:16 +0000 (19:27 +0000)
committerCliff Brake <cbrake@bec-systems.com>
Sat, 10 Feb 2007 19:27:16 +0000 (19:27 +0000)
packages/directfb/lite_0.9.26+cvs20070207.bb [new file with mode: 0644]

diff --git a/packages/directfb/lite_0.9.26+cvs20070207.bb b/packages/directfb/lite_0.9.26+cvs20070207.bb
new file mode 100644 (file)
index 0000000..2f43627
--- /dev/null
@@ -0,0 +1,40 @@
+DESCRIPTION = "LiTE stands for Lightweight Toolkit Enabler. Its role is to \
+               facilitate the functions of DirectFB so that a toolbox could \
+                be written on top of DirectFB with less effort. As such LiTE \
+                has abstractions for the underlying graphics and event systems."
+
+DEPENDS = "directfb"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+# this is a CVS only release
+
+SRC_URI = "cvs://anonymous@cvs.directfb.org/cvs/directfb;method=pserver;module=lite;date=${@bb.data.getVar('PV', d, 1)[9:]}"
+
+S = "${WORKDIR}/lite"
+
+inherit autotools pkgconfig
+
+do_configure_append() {
+    find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g'
+}
+
+do_stage() {
+        autotools_stage_all
+}
+
+do_install() {
+        oe_runmake 'DESTDIR=${D}' install
+}
+
+FILES_lite-dbg_append = " ${libdir}/directfb-1.0-0/*/*/.debug/*.so \
+                          ${libdir}/directfb-1.0-0/*/.debug/*.so \
+                        "
+FILES_lite-dev_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.la \
+                       "
+
+FILES_lite_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.so \
+                      ${datadir}/LiTE/* \
+                     ${datadir}/fonts/truetype/* \
+                   "
+