1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.109 2013/03/24 09:54:12 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.110 2013/03/24 14:16:30 ssuominen Exp $ |
4 | |
4 | |
5 | # @ECLASS: linux-mod.eclass |
5 | # @ECLASS: linux-mod.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # kernel-misc@gentoo.org |
7 | # kernel-misc@gentoo.org |
8 | # @AUTHOR: |
8 | # @AUTHOR: |
… | |
… | |
125 | inherit eutils linux-info multilib |
125 | inherit eutils linux-info multilib |
126 | EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm |
126 | EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm |
127 | |
127 | |
128 | IUSE="kernel_linux" |
128 | IUSE="kernel_linux" |
129 | SLOT="0" |
129 | SLOT="0" |
130 | RDEPEND="kernel_linux? ( virtual/modutils )" |
130 | [[ ${PN} == kmod ]] || RDEPEND="kernel_linux? ( virtual/modutils )" |
131 | DEPEND="${RDEPEND} |
131 | DEPEND="${RDEPEND} |
132 | sys-apps/sed |
132 | sys-apps/sed |
133 | kernel_linux? ( virtual/linux-sources )" |
133 | kernel_linux? ( virtual/linux-sources )" |
134 | |
134 | |
135 | # eclass utilities |
135 | # eclass utilities |