summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael J. Cohen <mjc@gentoo.org>2002-08-27 23:56:38 +0000
committerMichael J. Cohen <mjc@gentoo.org>2002-08-27 23:56:38 +0000
commitb3f127866a08c0fa905d14b60dcbe10c40915531 (patch)
tree18c1938840f2e59087540b99cc876d6ea200be33 /eclass
parentlittle better... (diff)
downloadgentoo-2-b3f127866a08c0fa905d14b60dcbe10c40915531.tar.gz
gentoo-2-b3f127866a08c0fa905d14b60dcbe10c40915531.tar.bz2
gentoo-2-b3f127866a08c0fa905d14b60dcbe10c40915531.zip
oops, should have read the howto.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kmod.eclass18
1 files changed, 3 insertions, 15 deletions
diff --git a/eclass/kmod.eclass b/eclass/kmod.eclass
index c8186085cdf3..3571f8141bbe 100644
--- a/eclass/kmod.eclass
+++ b/eclass/kmod.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.2 2002/08/27 23:42:21 mjc Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.3 2002/08/27 23:56:38 mjc Exp $
# The base eclass defines some default functions and variables. Nearly everything
# else inherits from here.
ECLASS=kmod
@@ -9,7 +9,7 @@ INHERITED="$INHERITED $ECLASS"
S=${WORKDIR}/${P}
DESCRIPTION="Based on the $ECLASS eclass"
-base_src_unpack() {
+kmod_src_unpack() {
debug-print-function $FUNCNAME $*
[ -z "$1" ] && base_src_unpack all
@@ -20,18 +20,6 @@ base_src_unpack() {
cd /usr/src/linux-${KV}
patch -p1 < ${FILESDIR}/${P}.patch
-
- done
-}
-
-base_unpack() {
- shift
- done
-}
-
-base_src_install() {
- shift
- done
}
-EXPORT_FUNCTIONS src_unpack src_compile src_install
+EXPORT_FUNCTIONS src_unpack