diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-26 17:32:46 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-26 17:32:46 +0000 |
commit | 132cb01a0fe539043558d33409f16e5f13d1dae9 (patch) | |
tree | 94aaad10ce42698683850ff13c97006e8661b26a /app-laptop | |
parent | Stable on alpha. (diff) | |
download | historical-132cb01a0fe539043558d33409f16e5f13d1dae9.tar.gz historical-132cb01a0fe539043558d33409f16e5f13d1dae9.tar.bz2 historical-132cb01a0fe539043558d33409f16e5f13d1dae9.zip |
Install idectl-ibm-acpi, fixes bug #87551.
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/ibm-acpi/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/Manifest | 6 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/files/digest-ibm-acpi-0.11-r1 | 1 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild | 72 |
4 files changed, 83 insertions, 3 deletions
diff --git a/app-laptop/ibm-acpi/ChangeLog b/app-laptop/ibm-acpi/ChangeLog index ffc826c5d0e0..777ecef9bc3b 100644 --- a/app-laptop/ibm-acpi/ChangeLog +++ b/app-laptop/ibm-acpi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-laptop/ibm-acpi # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.23 2005/04/21 07:16:36 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.24 2005/04/26 17:32:46 brix Exp $ + +*ibm-acpi-0.11-r1 (26 Apr 2005) + + 26 Apr 2005; <brix@gentoo.org> +ibm-acpi-0.11-r1.ebuild: + Install idectl-ibm-acpi, fixes bug #87551. 21 Apr 2005; Stephanie Lockwood-Childs <wormo@gentoo.org> ibm-acpi-0.10.ebuild, ibm-acpi-0.11.ebuild: diff --git a/app-laptop/ibm-acpi/Manifest b/app-laptop/ibm-acpi/Manifest index 2780634d94ee..2847f94dad37 100644 --- a/app-laptop/ibm-acpi/Manifest +++ b/app-laptop/ibm-acpi/Manifest @@ -1,6 +1,8 @@ -MD5 53ffa7d8478fce7834f5c0b87f70ca99 ChangeLog 3075 MD5 d8f1fa7bb24ceda29d10ba0ea509d190 ibm-acpi-0.10.ebuild 1516 -MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 cc39cf687b1035c3195ccd04d8a0f655 ibm-acpi-0.11.ebuild 1516 +MD5 e347adcba38928468ed70c41a718cc2b ibm-acpi-0.11-r1.ebuild 1590 +MD5 c049c73752c3bc0a9615c02f766d4a83 ChangeLog 3212 +MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 d206fe5459cdac396c96a997cc59b537 files/digest-ibm-acpi-0.10 64 MD5 d070ee489dc550a69fcd3af725513d81 files/digest-ibm-acpi-0.11 64 +MD5 d070ee489dc550a69fcd3af725513d81 files/digest-ibm-acpi-0.11-r1 64 diff --git a/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.11-r1 b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.11-r1 new file mode 100644 index 000000000000..1542af697c7d --- /dev/null +++ b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.11-r1 @@ -0,0 +1 @@ +MD5 be15a70d1b48a1de3d2bce6152b2d3f0 ibm-acpi-0.11.tar.gz 34823 diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild new file mode 100644 index 000000000000..965575af46fa --- /dev/null +++ b/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild,v 1.1 2005/04/26 17:32:46 brix Exp $ + +inherit linux-mod + +DESCRIPTION="IBM ThinkPad ACPI extras" + +HOMEPAGE="http://ibm-acpi.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 -ppc" + +IUSE="doc" + +BUILD_PARAMS="KDIR=${KV_DIR}" +BUILD_TARGETS="default" +MODULE_NAMES="ibm_acpi(acpi:)" +MODULESD_IBM_ACPI_DOCS="README" + +CONFIG_CHECK="!ACPI_IBM ACPI" +ACPI_IBM_ERROR="${P} requires IBM ThinkPad Laptop Extras (CONFIG_ACPI_IBM) to be DISABLED in the kernel." +ACPI_ERROR="${P} requires an ACPI (CONFIG_ACPI) enabled kernel." + +pkg_setup() { + if kernel_is 2 4; then + die "${P} does not support kernel 2.4.x" + fi + + linux-mod_pkg_setup +} + +src_unpack() { + unpack ${A} + + convert_to_m ${S}/Makefile +} + +src_install() { + linux-mod_src_install + + exeinto /sbin + newexe ${S}/config/usr/local/sbin/idectl idectl-${PN} + + if use doc; then + docinto examples/etc/acpi/actions + dodoc config/etc/acpi/actions/* + + docinto examples/etc/acpi/events + dodoc config/etc/acpi/events/* + fi +} + +pkg_postinst() { + einfo "" + einfo "You may wish to install sys-apps/acpid to handle the ACPI events generated" + einfo "by ${PN}." + + if useq doc; then + einfo "" + einfo "Example acpid configuration has been installed to" + einfo "/usr/share/doc/${PF}/examples/" + fi + + einfo "" + einfo "For further instructions please see /usr/share/doc/${PF}/README.gz" + einfo "" + + linux-mod_pkg_postinst +} |