diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-05-31 15:44:33 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-05-31 15:44:33 +0200 |
commit | 5569badb2597966e6ae4d437a890269982a38421 (patch) | |
tree | 585563aa1bfa2c15baecb90569f8fb7750c2ea84 /sys-power/acpi-fakekey | |
parent | 2dd556f2db709638d47749f2b09e06b258b0f4b0 (diff) | |
download | overlay-5569badb2597966e6ae4d437a890269982a38421.tar.gz overlay-5569badb2597966e6ae4d437a890269982a38421.tar.xz overlay-5569badb2597966e6ae4d437a890269982a38421.zip |
sys-power/acpi-fakekey: Add script to generate key events from acpi scripts
Diffstat (limited to 'sys-power/acpi-fakekey')
-rw-r--r-- | sys-power/acpi-fakekey/Manifest | 2 | ||||
-rw-r--r-- | sys-power/acpi-fakekey/acpi-fakekey-0.140.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/sys-power/acpi-fakekey/Manifest b/sys-power/acpi-fakekey/Manifest new file mode 100644 index 0000000..fbeb631 --- /dev/null +++ b/sys-power/acpi-fakekey/Manifest @@ -0,0 +1,2 @@ +DIST acpi-support_0.140.tar.gz 41227 SHA256 056bb4026ed11b622456f05c2c248a8cbcdc4e56e669d5660d5ce16bb8be1fa5 SHA512 87bda0264a68a75e28efd362e71c9cdcb1ee42aa0be37731f0f1cb2b30499705096cbb0eb869d3cba54ea2d5aa83b146a4f04625f90053adfbf62b92297e5159 WHIRLPOOL a3f89f5d4fc6724d0a713fc289bfd0d57df4546b3078459d8cd5b997c4aa61f8c73a558e237972b0bdcf366b3263e7ccb5b91ab282a6d16ce8bbdaee76ef87a8 +EBUILD acpi-fakekey-0.140.ebuild 651 SHA256 6424ed69fb347e07a59ef11bd9c0c2b2ae09d7049ce155f816f7716327a7c8b7 SHA512 952b8b774a65bf5c8a026c60a0357ae2293abdc97f523822297bc972fd183aeba6a8e29ef0b102c06f89bca9a001925b016da498148dbcdaea28aa0890d21481 WHIRLPOOL 2546e17cccedcccb75e53f186947a41314e51bc75a2cab0c83d26b5e5f099e2c107596396f70ca9f51637c7590289d95d9c43d10fff5924d39e2b542dde444d6 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 +} |