summaryrefslogtreecommitdiff
blob: d8b58723a07969fb6a74562f900e28d96f2134ae (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/oroborus-keylaunch/oroborus-keylaunch-1.3.9.ebuild,v 1.1 2010/05/31 15:52:47 xarthisius Exp $

EAPI=2

MY_PN=${PN/oroborus-//}

DESCRIPTION="utility for binding keys in Oroborus"
HOMEPAGE="http://www.oroborus.org"
SRC_URI="http://ftp.debian.org/debian/pool/main/k/${MY_PN}/${MY_PN}_${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/libX11
	!x11-wm/oroborus-extras"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_PN}-${PV}

src_prepare() {
	sed -i -e "s: -g -O2 -Wall::" \
		-e "/^install:/s/install-docs//" Makefile.in || die
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc README docs/example_rc debian/changelog || die
}