summaryrefslogtreecommitdiff
path: root/packages/fbset/fbset_2.1.bb
blob: ab505110e4af40e585b24b6c090efc92323fe3fa (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
#
# 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 = "GPL"

PR = "r2"

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

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"