summaryrefslogtreecommitdiff
blob: 6194d72abe809a6e7af16da1903ffff57a43f037 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild,v 1.5 2005/05/14 18:25:32 plasmaroo Exp $

MY_PV=${PV/_/}
DESCRIPTION="Input event layer media key activator"
HOMEPAGE="http://www.stampflee.com/evkeyd/"
SRC_URI="http://www.stampflee.com/evkeyd/downloads/evkeyd-${MY_PV}.tar.gz"

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

DEPEND=""

S=${WORKDIR}/${PN}-${MY_PV}

src_unpack() {
	unpack ${A}
	sed -e "s/_IOR('B', 6, 0)/_IOR('B', 6, int)/" -i ${S}/backlight.c
}

src_install() {
	dosbin evkeyd || die
	insinto /etc
	doins evkeyd.conf
	newinitd ${FILESDIR}/evkeyd.rc evkeyd
}