summaryrefslogtreecommitdiff
blob: f2c0c0edfd55f52e03a677f099984fe8e18e5370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Create a void window and prevent the mouse from entering it"
HOMEPAGE="https://github.com/cas--/XCreateMouseVoid"
SRC_URI="https://github.com/cas--/XCreateMouseVoid/archive/master.zip -> ${P}.zip"

LICENSE="none"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

RDEPEND="x11-base/xorg-server"
DEPEND=${RDEPEND}

S="${WORKDIR}/${PN}-master"

src_prepare() {
	sed -i -e 's/gcc/${CC}/g' Makefile
}

src_compile() {
	if use debug; then
		emake debug
	else
		emake
	fi
}

src_install() {
	dobin XCreateMouseVoid
	dodoc README.mdown
}