summaryrefslogtreecommitdiff
path: root/recipes/fbgrab/fbgrab-viewer-native_1.0.bb
blob: 5300d142b67234a78093ac27bfaadc3525ff6dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DESCRIPTION = "Viewer for a network enabled fbgrab"
HOMEPAGE = "http://svn.openezx.org/trunk/src/userspace/fbgrab/"
LICENSE = "GPL"
SECTION = "console/network"
DEPENDS = "libpng-native"
SRCREV = "1943"
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