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

Diff of /eclass/cvs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2000 Gentoo Technologies, Inc. 1# Copyright 1999-2000 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# Author Dan Armak <danarmak@gentoo.org> 3# Author Dan Armak <danarmak@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.4 2002/07/18 17:37:32 danarmak Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.5 2002/07/19 09:54:05 danarmak Exp $
5# This eclass provides the generic cvs fetching functions. 5# This eclass provides the generic cvs fetching functions.
6 6
7ECLASS=cvs 7ECLASS=cvs
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
9 9
139 debug-print "Copying module $ECVS_MODULE from $ECVS_TOP_DIR..." 139 debug-print "Copying module $ECVS_MODULE from $ECVS_TOP_DIR..."
140 # the reason this lives here and not in kde-source_src_unpack 140 # the reason this lives here and not in kde-source_src_unpack
141 # is that in the future after copying the sources we might need to 141 # is that in the future after copying the sources we might need to
142 # delete them, so this has to be self-contained 142 # delete them, so this has to be self-contained
143 cp -Rf ${ECVS_TOP_DIR}/${ECVS_MODULE} $WORKDIR 143 cp -Rf ${ECVS_TOP_DIR}/${ECVS_MODULE} $WORKDIR
144
145 # implement some of base_src_unpack's functionality;
146 # note however that base.eclass may not have been inherited!
147 if [ -n "$PATCHES" ]; then
148 debug-print "$FUNCNAME: PATCHES=$PATCHES, S=$S, autopatching"
149 cd $S
150 for x in $PATCHES; do
151 debug-print "patching from $x"
152 patch -p0 < $x
153 done
154 fi
144 155
145} 156}
146 157
147EXPORT_FUNCTIONS src_unpack 158EXPORT_FUNCTIONS src_unpack
148 159
160

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20