| 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.35 2005/04/22 19:10:32 johnm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.36 2005/04/25 18:47:12 johnm 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 |
85 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile |
| 86 | |
86 | |
| 87 | IUSE="${IUSE} pcmcia" |
|
|
| 88 | SLOT="0" |
87 | SLOT="0" |
| 89 | DESCRIPTION="Based on the $ECLASS eclass" |
88 | DESCRIPTION="Based on the $ECLASS eclass" |
| 90 | DEPEND="virtual/linux-sources |
89 | DEPEND="virtual/linux-sources |
| 91 | sys-apps/sed |
90 | sys-apps/sed |
| 92 | virtual/modutils |
91 | virtual/modutils |