| 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.37 2005/05/03 22:55:03 johnm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.38 2005/05/12 20:08:53 brix 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. |
| … | |
… | |
| 82 | inherit linux-info |
82 | inherit linux-info |
| 83 | ECLASS=linux-mod |
83 | ECLASS=linux-mod |
| 84 | INHERITED="$INHERITED $ECLASS" |
84 | INHERITED="$INHERITED $ECLASS" |
| 85 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
85 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
| 86 | |
86 | |
| 87 | IUSE="${IUSE} pcmcia" |
87 | IUSE="${IUSE}" |
| 88 | SLOT="0" |
88 | SLOT="0" |
| 89 | DESCRIPTION="Based on the $ECLASS eclass" |
89 | DESCRIPTION="Based on the $ECLASS eclass" |
| 90 | DEPEND="virtual/linux-sources |
90 | DEPEND="virtual/linux-sources |
| 91 | sys-apps/sed |
91 | sys-apps/sed |
| 92 | virtual/modutils |
92 | virtual/modutils |