# 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 }