/[gentoo-x86]/eclass/kmod.eclass
Gentoo

Contents of /eclass/kmod.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Mar 1 19:11:04 2003 UTC (17 years, 4 months ago) by lostlogic
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.8: +2 -2 lines
use mirror://gentoo

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.8 2003/02/28 09:15:04 vapier Exp $
4 #
5 # Author Dan Armak <danarmak@gentoo.org>
6 #
7 # The base eclass defines some default functions and variables. Nearly everything
8 # else inherits from here.
9
10 ECLASS=kmod
11 INHERITED="$INHERITED $ECLASS"
12 S=${WORKDIR}/${P}
13 DESCRIPTION="Based on the $ECLASS eclass"
14
15 SRC_URI="mirrof://gentoo/${P}.patch.bz2"
16
17 kmod_src_unpack() {
18
19 debug-print-function $FUNCNAME $*
20 [ -z "$1" ] && base_src_unpack all
21
22 debug-print-section patch
23 cd /usr/src/linux-${KV}
24 patch -p1 < ${DISTDIR}/${P}.patch
25
26 }
27
28 EXPORT_FUNCTIONS src_unpack

  ViewVC Help
Powered by ViewVC 1.1.20