Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 78575
Collapse All | Expand All

(-)ibm-acpi-0.10.ebuild.orig (-4 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
3
# $Header: $
4
4
5
inherit linux-mod
5
inherit linux-mod
6
6
Lines 18-27 Link Here
18
BUILD_PARAMS="KDIR=${KV_DIR}"
18
BUILD_PARAMS="KDIR=${KV_DIR}"
19
BUILD_TARGETS="default"
19
BUILD_TARGETS="default"
20
MODULE_NAMES="ibm_acpi(acpi:)"
20
MODULE_NAMES="ibm_acpi(acpi:)"
21
MODULESD_IBM_ACPI_DOCS="README"
22
21
23
CONFIG_CHECK="!ACPI_IBM ACPI"
22
CONFIG_CHECK="ACPI @ACPI_IBM:ibm_acpi"
24
ACPI_IBM_ERROR="${P} requires IBM ThinkPad Laptop Extras (CONFIG_ACPI_IBM) to be DISABLED in the kernel."
23
ACPI_IBM_ERROR="We have detected ${P} already built into the kernel. \n\
24
     We will continue, but we wont build the module this time."
25
ACPI_ERROR="${P} requires an ACPI (CONFIG_ACPI) enabled kernel."
25
ACPI_ERROR="${P} requires an ACPI (CONFIG_ACPI) enabled kernel."
26
26
27
pkg_setup() {
27
pkg_setup() {
Lines 30-35 Link Here
30
	fi
30
	fi
31
31
32
	linux-mod_pkg_setup
32
	linux-mod_pkg_setup
33
34
	[ -n "${MODULE_IGNORE}" ] && \
35
	ewarn "No doc and no module... there won't be much to install!"
33
}
36
}
34
37
35
src_unpack() {
38
src_unpack() {
Lines 41-46 Link Here
41
src_install() {
44
src_install() {
42
	linux-mod_src_install
45
	linux-mod_src_install
43
46
47
	dodoc README CHANGES
48
44
	if use doc; then
49
	if use doc; then
45
		docinto examples/etc/acpi/actions
50
		docinto examples/etc/acpi/actions
46
		dodoc config/etc/acpi/actions/*
51
		dodoc config/etc/acpi/actions/*

Return to bug 78575