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)
5 # Filename: fbset_2.1.bb
8 DESCRIPTION = "The fbset console tool"
10 RRECOMMENDS = "fbset-modes"
14 SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \
15 file://makefile.patch;patch=1"
17 inherit autotools update-alternatives
22 install -d ${D}/usr/sbin ${D}/usr/share/man/man8 ${D}/usr/share/man/man5
23 install -m 0755 ${WORKDIR}/${P}/fbset ${D}/usr/sbin/fbset.real
24 install -m 0644 ${WORKDIR}/${P}/*.5 ${D}/usr/share/man/man5
25 install -m 0644 ${WORKDIR}/${P}/*.8 ${D}/usr/share/man/man8
28 ALTERNATIVE_NAME = "fbset"
29 ALTERNATIVE_LINK = "${sbindir}/${ALTERNATIVE_NAME}"
30 ALTERNATIVE_PATH = "${sbindir}/fbset.real"
31 ALTERNATIVE_PRIORITY = "55"