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

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

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

do_compile() {
	oe_runmake CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" \
		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
}