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.45 2005/07/06 20:53:20 agriffis Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.46 2005/07/07 12:05:40 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. |
… | |
… | |
83 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
83 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
84 | |
84 | |
85 | IUSE="${IUSE} pcmcia" |
85 | IUSE="${IUSE} pcmcia" |
86 | SLOT="0" |
86 | SLOT="0" |
87 | DESCRIPTION="Based on the $ECLASS eclass" |
87 | DESCRIPTION="Based on the $ECLASS eclass" |
88 | DEPEND="virtual/linux-sources |
88 | RDEPEND="virtual/modutils |
89 | sys-apps/sed |
|
|
90 | virtual/modutils |
|
|
91 | pcmcia? ( virtual/pcmcia )" |
89 | pcmcia? ( virtual/pcmcia )" |
|
|
90 | DEPEND="${RDEPEND} |
|
|
91 | virtual/linux-sources |
|
|
92 | sys-apps/sed" |
92 | |
93 | |
93 | # eclass utilities |
94 | # eclass utilities |
94 | # ---------------------------------- |
95 | # ---------------------------------- |
95 | |
96 | |
96 | unpack_pcmcia_sources() { |
97 | unpack_pcmcia_sources() { |