blob: b5bda8d3a965fe835aea7145322e0f03001b8f7f (
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-2006 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.6 2006/07/11 06:07:23 vapier Exp $
inherit eutils
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}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
sed -i \
-e "s/_IOR('B', 6, 0)/_IOR('B', 6, int)/" \
backlight.c || die
}
src_install() {
dosbin evkeyd || die
insinto /etc
doins evkeyd.conf
newinitd "${FILESDIR}"/evkeyd.rc evkeyd
}
|