diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-03-22 18:46:51 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-03-22 18:46:51 +0000 |
commit | 7bbdb9c96a38a1feeb5a30dff5d031a15611df5a (patch) | |
tree | ef777dbbb82db3a93092532d1de6efc9136eb324 /app-laptop/acpi4asus | |
parent | Version bump, bug 171197 (diff) | |
download | gentoo-2-7bbdb9c96a38a1feeb5a30dff5d031a15611df5a.tar.gz gentoo-2-7bbdb9c96a38a1feeb5a30dff5d031a15611df5a.tar.bz2 gentoo-2-7bbdb9c96a38a1feeb5a30dff5d031a15611df5a.zip |
change emake command thanks CHARY Corentin <corentincj@iksaif.net> in bug 171833
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-laptop/acpi4asus')
-rw-r--r-- | app-laptop/acpi4asus/ChangeLog | 6 | ||||
-rw-r--r-- | app-laptop/acpi4asus/acpi4asus-0.40-r1.ebuild | 63 | ||||
-rw-r--r-- | app-laptop/acpi4asus/files/digest-acpi4asus-0.40-r1 | 3 |
3 files changed, 71 insertions, 1 deletions
diff --git a/app-laptop/acpi4asus/ChangeLog b/app-laptop/acpi4asus/ChangeLog index cf1e869ed5d7..b2cf31d2bdad 100644 --- a/app-laptop/acpi4asus/ChangeLog +++ b/app-laptop/acpi4asus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/acpi4asus # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/ChangeLog,v 1.12 2007/03/20 22:19:36 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/ChangeLog,v 1.13 2007/03/22 18:46:51 genstef Exp $ + + 22 Mar 2007; <stefan@gentoo.org> +acpi4asus-0.40-r1.ebuild: + change emake command thanks CHARY Corentin <corentincj@iksaif.net> in bug + 171833 *acpi4asus-0.40 (20 Mar 2007) diff --git a/app-laptop/acpi4asus/acpi4asus-0.40-r1.ebuild b/app-laptop/acpi4asus/acpi4asus-0.40-r1.ebuild new file mode 100644 index 000000000000..a679a479300b --- /dev/null +++ b/app-laptop/acpi4asus/acpi4asus-0.40-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/acpi4asus-0.40-r1.ebuild,v 1.1 2007/03/22 18:46:51 genstef Exp $ + +inherit linux-mod eutils + +DESCRIPTION="Acpi daemon and kernel module to control ASUS Laptop Hotkeys" +HOMEPAGE="http://sourceforge.net/projects/acpi4asus" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +MODULE_NAMES="asus-laptop(acpi:${S}/driver)" +BUILD_TARGETS=" " +RDEPEND="sys-power/acpid" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KDIR=${KV_DIR}" +} + +src_unpack() { + unpack ${A} + + if kernel_is ge 2 6 20 ; then + die "kernel 2.6.20 and later not yet supported in this release, feel + free to provide a patch to change that :)" + fi +} + +src_compile() { + linux-mod_src_compile + emake -C asus_acpid +} + + +src_install() { + linux-mod_src_install + + dobin asus_acpid/asus_acpid + doman asus_acpid/asus_acpid.8 + + dodoc README Changelog + + dodir /usr/share/${PN}/samples + + dodir /usr/share/${PN}/samples/actions + insinto /usr/share/${PN}/samples/actions + doins samples/actions/*.sh + + dodir /usr/share/${PN}/samples/events + insinto /usr/share/${PN}/samples/events + doins samples/events/* +} + +pkg_postinst() { + linux-mod_pkg_postinst + einfo + einfo "Don't forget to create your ~/.asus_acpi," + einfo "see /usr/share/doc/${PF}/README.gz for details" + einfo +} diff --git a/app-laptop/acpi4asus/files/digest-acpi4asus-0.40-r1 b/app-laptop/acpi4asus/files/digest-acpi4asus-0.40-r1 new file mode 100644 index 000000000000..f5448b99c411 --- /dev/null +++ b/app-laptop/acpi4asus/files/digest-acpi4asus-0.40-r1 @@ -0,0 +1,3 @@ +MD5 00fbad205b55d729beaa5fbc3a6380c6 acpi4asus-0.40.tar.bz2 29681 +RMD160 5c6602abf1b2e5e584325c2d8b2d55cf47a2e692 acpi4asus-0.40.tar.bz2 29681 +SHA256 3e25cbeac4d07fdc9849438b47143b77c9f622865840400db9a34ec060123ffc acpi4asus-0.40.tar.bz2 29681 |