public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/
Date: Sun, 17 Jan 2021 13:07:35 +0000 (UTC)	[thread overview]
Message-ID: <1610888838.b766634896d5a6d49c6c068ff54117bf1de4cfa7.conikost@gentoo> (raw)

commit:     b766634896d5a6d49c6c068ff54117bf1de4cfa7
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 13:02:54 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 13:07:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7666348

sys-power/acpi_call: update live ebuild

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-power/acpi_call/acpi_call-9999.ebuild | 32 +++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

diff --git a/sys-power/acpi_call/acpi_call-9999.ebuild b/sys-power/acpi_call/acpi_call-9999.ebuild
index ba87b06a3dc..ba449334ffc 100644
--- a/sys-power/acpi_call/acpi_call-9999.ebuild
+++ b/sys-power/acpi_call/acpi_call-9999.ebuild
@@ -1,24 +1,18 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit linux-info linux-mod
+inherit git-r3 linux-info linux-mod
 
-HOMEPAGE="https://github.com/teleshoes/acpi_call"
-if [ "${PV}" = "9999" ]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/teleshoes/acpi_call.git"
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/teleshoes/acpi_call/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
+DESCRIPTION="A linux kernel module that enables calls to ACPI"
+HOMEPAGE="https://github.com/nix-community/acpi_call"
+EGIT_REPO_URI="https://github.com/teleshoes/acpi_call.git"
 
-DESCRIPTION="A kernel module that enables you to call ACPI methods"
-
-LICENSE="GPL-2"
+LICENSE="GPL-3+"
 SLOT="0"
+KEYWORDS=""
+IUSE="examples"
 
 BUILD_TARGETS="default"
 CONFIG_CHECK="ACPI"
@@ -26,5 +20,15 @@ MODULE_NAMES="acpi_call(misc:${S})"
 
 src_compile() {
 	BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
+
 	linux-mod_src_compile
 }
+
+src_install() {
+	linux-mod_src_install
+
+	if use examples; then
+		insinto /usr/share/acpi_call
+		doins examples/*.sh
+	fi
+}


             reply	other threads:[~2021-01-17 13:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 13:07 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-02 11:16 [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/ Conrad Kostecki
2021-10-29 22:01 Conrad Kostecki
2021-09-27 20:01 Conrad Kostecki
2021-07-01 21:45 Conrad Kostecki
2021-01-17 13:07 Conrad Kostecki
2021-01-17 13:07 Conrad Kostecki
2020-05-10 16:22 Conrad Kostecki
2020-05-10 16:22 Conrad Kostecki
2020-05-10 16:22 Conrad Kostecki
2020-01-13 10:07 David Seifert
2018-08-07 22:27 Patrice Clement
2016-11-14  2:01 Christoph Junghans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610888838.b766634896d5a6d49c6c068ff54117bf1de4cfa7.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox