diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-03-20 22:19:36 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-03-20 22:19:36 +0000 |
commit | 37294b7538be604bd6b990f12095507fa3de8125 (patch) | |
tree | de180913356e18f5686d66033769c3f46688997c /app-laptop/acpi4asus | |
parent | x86 stable (diff) | |
download | gentoo-2-37294b7538be604bd6b990f12095507fa3de8125.tar.gz gentoo-2-37294b7538be604bd6b990f12095507fa3de8125.tar.bz2 gentoo-2-37294b7538be604bd6b990f12095507fa3de8125.zip |
Version bump thanks to Radim Snajdr <r.snajdr@coramexport.cz> in bug 168444
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-laptop/acpi4asus')
-rw-r--r-- | app-laptop/acpi4asus/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/acpi4asus/acpi4asus-0.40.ebuild | 63 | ||||
-rw-r--r-- | app-laptop/acpi4asus/files/digest-acpi4asus-0.40 | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/app-laptop/acpi4asus/ChangeLog b/app-laptop/acpi4asus/ChangeLog index 8449b4a3429c..cf1e869ed5d7 100644 --- a/app-laptop/acpi4asus/ChangeLog +++ b/app-laptop/acpi4asus/ChangeLog @@ -1,6 +1,11 @@ # 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.11 2007/02/13 16:47:26 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/ChangeLog,v 1.12 2007/03/20 22:19:36 genstef Exp $ + +*acpi4asus-0.40 (20 Mar 2007) + + 20 Mar 2007; <stefan@gentoo.org> +acpi4asus-0.40.ebuild: + Version bump thanks to Radim Snajdr <r.snajdr@coramexport.cz> in bug 168444 *acpi4asus-0.32-r1 (13 Feb 2007) diff --git a/app-laptop/acpi4asus/acpi4asus-0.40.ebuild b/app-laptop/acpi4asus/acpi4asus-0.40.ebuild new file mode 100644 index 000000000000..74a4c962e88c --- /dev/null +++ b/app-laptop/acpi4asus/acpi4asus-0.40.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.ebuild,v 1.1 2007/03/20 22:19:36 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-laptop +} + + +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 b/app-laptop/acpi4asus/files/digest-acpi4asus-0.40 new file mode 100644 index 000000000000..f5448b99c411 --- /dev/null +++ b/app-laptop/acpi4asus/files/digest-acpi4asus-0.40 @@ -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 |