summaryrefslogtreecommitdiff
path: root/recipes/fbv/fbv_1.0b.bb
blob: 6016e0a70967ce19131e833563a7485bc2e9d5d3 (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
DESCRIPTION = "Frame Buffer Viewer"
LICENSE = "GPL"
DEPENDS = "libpng jpeg"
PR = "r2"

SRC_URI = "http://s-tech.elsat.net.pl/fbv/fbv-1.0b.tar.gz \
	file://cross_compile.patch;patch=1 \
	file://fbv-1.0b.patch;patch=1 \
	"

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

do_compile() {
	oe_runmake CC="${CC}" \
		CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES"		
}

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
}