From 5569badb2597966e6ae4d437a890269982a38421 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 31 May 2015 15:44:33 +0200 Subject: sys-power/acpi-fakekey: Add script to generate key events from acpi scripts --- sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild (limited to 'sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild') diff --git a/sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild b/sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild new file mode 100644 index 0000000..16891ee --- /dev/null +++ b/sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Script from Ubuntu to create key events from acpi scripts" +HOMEPAGE="http://packages.ubuntu.com/feisty/admin/acpi-support" +SRC_URI="mirror://ubuntu/pool/main/a/acpi-support/acpi-support_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-apps/kbd" +S="${WORKDIR}/acpi-support-${PV}" + +src_compile() { + cd "$S" + sed -i 's/strip acpi_fakekey//' Makefile + emake || die "emake failed" +} + +src_install() { + dobin acpi_fakekey + + insinto /usr/share/${PN} + doins key-constants +} -- cgit v1.2.3