1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs flag-o-matic eutils
8 DESCRIPTION="A utility to set the framebuffer videomode"
9 HOMEPAGE="http://users.telenet.be/geertu/Linux/fbdev/"
10 SRC_URI="http://users.telenet.be/geertu/Linux/fbdev/${P}.tar.gz"
14 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86"
17 DEPEND="sys-devel/bison
22 epatch "${FILESDIR}/${P}-build.patch"
23 epatch "${FILESDIR}/${P}-add-linux-types-h.patch"
28 use static && append-ldflags -static
34 dobin fbset modeline2fb
36 dodoc etc/fb.modes.* INSTALL