1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 DESCRIPTION="Utility to make modifier keys send custom key events when pressed on their own"
9 HOMEPAGE="https://github.com/alols/xcape"
10 SRC_URI="https://github.com/alols/xcape/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 RDEPEND="x11-libs/libX11
22 # Fix path to man and to pkg-config
24 -e "/MANDIR/s:local:share:" \
25 -e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
32 emake CC="$(tc-getCC)"
36 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install