add fbgrab-viewer-native
authorMichael Lauer <mickey@vanille-media.de>
Sun, 17 Jun 2007 04:50:57 +0000 (04:50 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sun, 17 Jun 2007 04:50:57 +0000 (04:50 +0000)
packages/fbgrab/fbgrab-viewer-native_1.0.bb [new file with mode: 0644]

diff --git a/packages/fbgrab/fbgrab-viewer-native_1.0.bb b/packages/fbgrab/fbgrab-viewer-native_1.0.bb
new file mode 100644 (file)
index 0000000..2494918
--- /dev/null
@@ -0,0 +1,31 @@
+DESCRIPTION = "Viewer for a network enabled fbgrab"
+HOMEPAGE = "http://svn.openezx.org/trunk/src/userspace/fbgrab/"
+LICENSE = "GPL"
+SECTION = "console/network"
+DEPENDS = "libpng-native"
+PV = "0.0+svn${SRCDATE}"
+PR = "r30"
+
+SRC_URI = "svn://svn.openezx.org/trunk/src/userspace;module=fbgrab;proto=http"
+S = "${WORKDIR}/fbgrab"
+
+inherit native
+
+do_compile() {
+       ${CC} ${CFLAGS} ${LDFLAGS} -g -Wall -lpng -lX11 -o fbgrab-viewer fbgrab-viewer.c
+}
+
+do_deploy() {
+       install -d ${DEPLOY_DIR_IMAGE}
+       install -m 0755 fbgrab-viewer ${DEPLOY_DIR_IMAGE}/fbgrab-viewer
+}
+
+do_stage() {
+    :
+}
+
+do_install() {
+    :
+}
+
+addtask deploy before do_install after do_compile