blob: d5637539ff0d927b5abbe59038f1a3d329ea92f4 (
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
39
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xbindkeys/xbindkeys-1.8.0.ebuild,v 1.6 2010/02/08 18:20:05 jer Exp $
EAPI="2"
inherit eutils
IUSE="guile tk"
DESCRIPTION="Tool for launching commands on keystrokes"
SRC_URI="http://hocwp.free.fr/xbindkeys/${P}.tar.gz"
HOMEPAGE="http://hocwp.free.fr/xbindkeys/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
RDEPEND="x11-libs/libX11
guile? ( >=dev-scheme/guile-1.8.4[deprecated] )
tk? ( dev-lang/tk )"
DEPEND="${RDEPEND}
x11-proto/xproto"
src_configure() {
local myconf
use tk || myconf="${myconf} --disable-tk"
use guile || myconf="${myconf} --disable-guile"
econf ${myconf} || die "configure failed"
}
src_compile() {
emake DESTDIR="${D}" || die "make failed"
}
src_install() {
make DESTDIR="${D}" BINDIR=/usr/bin install || die "make install failed"
}
|