blob: 969a6d23a3f8f5cd62eade0bff6331e234a0d386 [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"
Patrick Williams213cb262021-08-07 19:21:33 -050012RRECOMMENDS:${PN} = "fbset-modes"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013DEPENDS = "bison-native flex-native"
14
15PR = "r4"
16
Andrew Geissler8fc454f2020-12-11 16:27:59 -060017SRC_URI = "${DEBIAN_MIRROR}/main/f/fbset/fbset_2.1.orig.tar.gz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018 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
Patrick Williams213cb262021-08-07 19:21:33 -050032ALTERNATIVE:fbset = "fbset"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset"
34ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real"
35ALTERNATIVE_PRIORITY[fbset] = "55"
36
37SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
38SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"