aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fbset/fbset_2.1.bb
blob: e64ae942ca58dc74a4e46cb2b7aa54f1a7f7d60d (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
26
27
28
29
30
31
32
33
34
35
36
#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license)
#
# Filename: fbset_2.1.bb
# Date: 28-May-06

DESCRIPTION = "The fbset console tool"
LICENSE = "GPLv2"
RRECOMMENDS_${PN} = "fbset-modes"

PR = "r2"

SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \
           file://makefile.patch"

inherit autotools update-alternatives

PARALLEL_MAKE = ""

do_install() {
        install -d ${D}/usr/sbin ${D}/usr/share/man/man8 ${D}/usr/share/man/man5
        install -m 0755 ${WORKDIR}/${P}/fbset ${D}/usr/sbin/fbset.real
        install -m 0644 ${WORKDIR}/${P}/*.5 ${D}/usr/share/man/man5
        install -m 0644 ${WORKDIR}/${P}/*.8 ${D}/usr/share/man/man8
}

ALTERNATIVE_NAME = "fbset"
ALTERNATIVE_LINK = "${sbindir}/${ALTERNATIVE_NAME}"
ALTERNATIVE_PATH = "${sbindir}/fbset.real"
ALTERNATIVE_PRIORITY = "55"



SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"