33 lines
751 B
Bash
33 lines
751 B
Bash
|
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
# $Id$
|
||
|
|
|
||
|
|
EAPI="6"
|
||
|
|
|
||
|
|
#inherit eutils toolchain-funcs
|
||
|
|
inherit autotools git-r3
|
||
|
|
|
||
|
|
DESCRIPTION="A utility to connect the Mouse and KeyBoard to another X"
|
||
|
|
HOMEPAGE="https://github.com/dottedmag/x2x/wiki"
|
||
|
|
LICENSE="BSD MIT"
|
||
|
|
#SRC_URI="https://github.com/dottedmag/${PN}/archive/master.zip -> ${PN}.zip"
|
||
|
|
SLOT="0"
|
||
|
|
KEYWORDS="amd64 ~arm ~mips ppc x86"
|
||
|
|
IUSE=""
|
||
|
|
|
||
|
|
EGIT_REPO_URI="https://github.com/dottedmag/x2x.git"
|
||
|
|
EGIT_COMMIT="ec10215d558f4b227547522c660f35db8ba6901e"
|
||
|
|
|
||
|
|
RDEPEND="x11-libs/libX11
|
||
|
|
x11-libs/libXtst
|
||
|
|
x11-libs/libXext"
|
||
|
|
DEPEND="${RDEPEND}"
|
||
|
|
|
||
|
|
src_compile() {
|
||
|
|
cd "${S}"
|
||
|
|
./bootstrap.sh || die
|
||
|
|
./configure --prefix="${EPREFIX}"/usr
|
||
|
|
emake || die
|
||
|
|
}
|
||
|
|
|