blob: fbf834da180e7c8b97315b6dca95defb058eb7ea [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001#
2# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
3# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license)
4#
5# Filename: fbset_2.1.bb
6# Date: 28-May-06
7
8SUMMARY = "The fbset console tool"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010LICENSE = "GPLv2"
11LIC_FILES_CHKSUM = "file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f"
12RRECOMMENDS_${PN} = "fbset-modes"
13DEPENDS = "bison-native flex-native"
14
15PR = "r4"
16
17SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \
18 file://makefile.patch \
19 file://fbset-2.1-fix-makefile-dep.patch \
20 file://0001-fbset-including-asm-types.h-is-needed-on-all-linux-s.patch \
21"
22
23inherit update-alternatives
24
25do_install() {
26 install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5
27 install -m 0755 ${B}/fbset ${D}${sbindir}/fbset.real
28 install -m 0644 ${B}/*.5 ${D}${datadir}/man/man5
29 install -m 0644 ${B}/*.8 ${D}${datadir}/man/man8
30}
31
32ALTERNATIVE_fbset = "fbset"
33ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset"
34ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real"
35ALTERNATIVE_PRIORITY[fbset] = "55"
36
37SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
38SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"