1# 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" 9HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/" 10LICENSE = "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" 39