# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit git-r3 DESCRIPTION="Create a void window and prevent the mouse from entering it" HOMEPAGE="https://github.com/cas--/XCreateMouseVoid" EGIT_REPO_URI="https://github.com/cas--/XCreateMouseVoid.git" LICENSE="" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND="x11-base/xorg-server" DEPEND=${RDEPEND} src_prepare() { sed -i -e 's/gcc/${CC}/g' Makefile sed -i -e 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/g' Makefile default } src_compile() { if use debug; then emake debug else emake fi } src_install() { dobin XCreateMouseVoid dodoc README.mdown }