2014-09-03 19:04:34 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-10 23:59:40 +03:00
|
|
|
# $Id$
|
2014-09-03 19:04:34 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils toolchain-funcs
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
DESCRIPTION="small tool to report and change the keyboard LED states of an X display"
|
|
|
|
HOMEPAGE="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/"
|
|
|
|
SRC_URI="ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/src/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="x86 ppc sparc alpha hppa ~mips amd64 ia64"
|
|
|
|
|
2014-09-03 19:04:34 +04:00
|
|
|
RDEPEND="
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXtst
|
|
|
|
"
|
|
|
|
DEPEND="
|
|
|
|
${RDEPEND}
|
2011-11-09 11:33:19 +04:00
|
|
|
x11-proto/inputproto
|
|
|
|
x11-proto/xextproto
|
2014-09-03 19:04:34 +04:00
|
|
|
x11-proto/xproto
|
|
|
|
"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
2014-09-03 19:04:34 +04:00
|
|
|
src_prepare() {
|
|
|
|
epatch \
|
|
|
|
"${FILESDIR}"/${P}-assignment.patch \
|
|
|
|
"${FILESDIR}"/${P}-isalpha.patch
|
|
|
|
tc-export CC
|
2011-11-09 11:33:19 +04:00
|
|
|
}
|
2014-09-03 19:04:34 +04:00
|
|
|
|
|
|
|
DOCS=( AUTHORS ChangeLog README TODO )
|