1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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/eclass/linux-mod.eclass,v 1.42 2005/07/05 13:39:26 johnm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.43 2005/07/06 20:20:04 agriffis Exp $ |
4 | |
4 | |
5 | # Description: This eclass is used to interface with linux-info in such a way |
5 | # Description: This eclass is used to interface with linux-info in such a way |
6 | # to provide the functionality required and initial functions |
6 | # to provide the functionality required and initial functions |
7 | # required to install external modules against a kernel source |
7 | # required to install external modules against a kernel source |
8 | # tree. |
8 | # tree. |
… | |
… | |
78 | # the full path to any associated |
78 | # the full path to any associated |
79 | # documents for $modulename |
79 | # documents for $modulename |
80 | |
80 | |
81 | |
81 | |
82 | inherit linux-info |
82 | inherit linux-info |
83 | ECLASS=linux-mod |
|
|
84 | INHERITED="$INHERITED $ECLASS" |
83 | INHERITED="$INHERITED $ECLASS" |
85 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
84 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
86 | |
85 | |
87 | IUSE="${IUSE}" |
86 | IUSE="${IUSE}" |
88 | SLOT="0" |
87 | SLOT="0" |