summaryrefslogtreecommitdiff
path: root/nonworking/bogl
diff options
context:
space:
mode:
Diffstat (limited to 'nonworking/bogl')
-rw-r--r--nonworking/bogl/bogl-utils-native_0.1.9.oe2
-rw-r--r--nonworking/bogl/libbogl_0.1.9.oe24
2 files changed, 25 insertions, 1 deletions
diff --git a/nonworking/bogl/bogl-utils-native_0.1.9.oe b/nonworking/bogl/bogl-utils-native_0.1.9.oe
index 545f06c45e..94a1d4e00b 100644
--- a/nonworking/bogl/bogl-utils-native_0.1.9.oe
+++ b/nonworking/bogl/bogl-utils-native_0.1.9.oe
@@ -1,7 +1,7 @@
DESCRIPTION = "Utilities for Ben's Own Graphics Library"
SECTION = "libs"
PRIORITY = "optional"
-DEPENDS = "virtual/libc gd-native"
+DEPENDS = "gd-native"
PR = "2"
SRC_URI = "${DEBIAN_MIRROR}/main/b/bogl/bogl_${PV}-${PR}.tar.gz"
diff --git a/nonworking/bogl/libbogl_0.1.9.oe b/nonworking/bogl/libbogl_0.1.9.oe
index e69de29bb2..e9198eae89 100644
--- a/nonworking/bogl/libbogl_0.1.9.oe
+++ b/nonworking/bogl/libbogl_0.1.9.oe
@@ -0,0 +1,24 @@
+DESCRIPTION = "Ben's Own Graphics Library"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "bogl-utils-native"
+PR = "2"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/b/bogl/bogl_${PV}-${PR}.tar.gz"
+S = "${WORKDIR}/bogl"
+
+do_compile() {
+ ln -sf ${STAGING_BINDIR}/bdftobogl .
+ ln -sf ${STAGING_BINDIR}/pngtobogl .
+ oe_runmake libbogl.so.0.1 libbogl.a
+}
+
+do_stage() {
+ oe_soinstall libbogl.so.0.1 ${STAGING_LIBDIR}/
+ install bogl*.h ${STAGING_INCDIR}/
+}
+
+do_install() {
+ oe_soinstall libbogl.so.0.1 ${STAGING_LIBDIR}/
+}
+