--- ibm-acpi-0.10.ebuild.orig 2005-01-18 22:04:19.324110264 +0100 +++ ibm-acpi-0.10.ebuild 2005-01-18 22:36:56.712541992 +0100 @@ -1,6 +1,6 @@ # 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.10.ebuild,v 1.1 2005/01/16 18:51:24 brix Exp $ +# $Header: $ inherit linux-mod @@ -18,10 +18,10 @@ 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." +CONFIG_CHECK="ACPI @ACPI_IBM:ibm_acpi" +ACPI_IBM_ERROR="We have detected ${P} already built into the kernel. \n\ + We will continue, but we wont build the module this time." ACPI_ERROR="${P} requires an ACPI (CONFIG_ACPI) enabled kernel." pkg_setup() { @@ -30,6 +30,9 @@ fi linux-mod_pkg_setup + + [ -n "${MODULE_IGNORE}" ] && \ + ewarn "No doc and no module... there won't be much to install!" } src_unpack() { @@ -41,6 +44,8 @@ src_install() { linux-mod_src_install + dodoc README CHANGES + if use doc; then docinto examples/etc/acpi/actions dodoc config/etc/acpi/actions/*