blob: 14e22087f1b34e7da820552a204b2397a05fe2b8 (
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
36
37
38
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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
eapply_user
}
src_compile() {
if use debug; then
emake debug
else
emake
fi
}
src_install() {
dobin XCreateMouseVoid
dodoc README.mdown
}
|