# 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.15 2005/01/03 20:31:08 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.16 2005/01/03 20:37:17 brix Exp $
+
+*ibm-acpi-0.8-r1 (03 Jan 2005)
+
+ 03 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +ibm-acpi-0.8-r1.ebuild:
+ Ported to use linux-mod.eclass, bumping because of modules.d file addition.
03 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> -ibm-acpi-0.4.ebuild,
-ibm-acpi-0.7.ebuild:
MD5 82e8a78cafa40d4e9506e6c58556ddae ibm-acpi-0.8.ebuild 2272
-MD5 7d62d170ac959c785650924f620593ac ChangeLog 2069
+MD5 01a49e218eea87fd10787a65bf2ee776 ibm-acpi-0.8-r1.ebuild 1521
+MD5 79ba75818d2032a103ceb76a00301ab2 ChangeLog 2259
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+MD5 bed3ae2596959ff1e380bfba86458bc5 files/digest-ibm-acpi-0.8-r1 63
MD5 bed3ae2596959ff1e380bfba86458bc5 files/digest-ibm-acpi-0.8 63
--- /dev/null
+# 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.8-r1.ebuild,v 1.1 2005/01/03 20:37:17 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"
+
+IUSE="doc"
+
+BUILD_PARAMS="KDIR=${KV_DIR}"
+BUILD_TARGETS="default"
+MODULE_NAMES="ibm_acpi(acpi:)"
+MODULESD_IBM_ACPI_DOCS="LICENSE 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
+
+ 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
+}