1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit linux-info eutils
7 DESCRIPTION="IBM ThinkPad buttons utility"
8 HOMEPAGE="https://savannah.nongnu.org/projects/tpb/"
9 SRC_URI="https://savannah.nongnu.org/download/tpb/${P}.tar.gz"
13 KEYWORDS="amd64 -ppc x86"
16 RDEPEND="x11-libs/libXt
18 xosd? ( >=x11-libs/xosd-2.2.0 )"
22 ERROR_NVRAM="${P} requires /dev/nvram support (CONFIG_NVRAM)"
25 epatch "${FILESDIR}"/${PN}-configure-fix.diff
26 epatch "${FILESDIR}"/${P}-nvram.patch
37 dodoc doc/{callback_example.sh,nvram.txt,tpbrc}