summaryrefslogtreecommitdiffstats
path: root/meta-rcs/meta-common/recipes-phosphor/video/fbv_git.bb
blob: 1dd268a39969e3ad9f884b52f9c6f03db3fa5961 (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
DESCRIPTION = "Frame Buffer Viewer"
LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://COPYING;md5=130f9d9dddfebd2c6ff59165f066e41c"
DEPENDS = "libpng jpeg"

FILESEXTRAPATHS_prepend := "${THISDIR}/fbv_git:"

SRC_URI += "git://scm.raptorcs.com/scm/git/fbv;protocol=https"
SRCREV = "e0bfd6744c82dd0fd0fea9aa80fb0aafc361c327"

CFLAGS += "-D_GNU_SOURCE -D__KERNEL_STRICT_NAMES"
LDFLAGS += "-lpng"

S = "${WORKDIR}/git"

do_configure() {
	CC="${CC}" ./configure
}

do_compile() {
	oe_runmake CC="${CC}"
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 fbv ${D}${bindir}

# man
	install -d ${D}${mandir}/man1/
	install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1
}
OpenPOWER on IntegriCloud