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

Diff of /eclass/rpm.eclass

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

Revision 1.14 Revision 1.15
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2006 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/rpm.eclass,v 1.14 2005/07/11 15:08:06 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/rpm.eclass,v 1.15 2006/06/27 06:49:09 vapier Exp $
4 4
5# Author : Alastair Tse <liquidx@gentoo.org> (21 Jun 2003) 5# Author : Alastair Tse <liquidx@gentoo.org> (21 Jun 2003)
6# 6#
7# Convienence class for extracting RPMs 7# Convienence class for extracting RPMs
8# 8#
64 for x in ${A}; do 64 for x in ${A}; do
65 myfail="failure unpacking ${x}" 65 myfail="failure unpacking ${x}"
66 ext=${x##*.} 66 ext=${x##*.}
67 case "$ext" in 67 case "$ext" in
68 rpm) 68 rpm)
69 echo ">>> Unpacking ${x}" 69 echo ">>> Unpacking ${x} to ${WORKDIR}"
70 prefix=${x%.rpm} 70 prefix=${x%.rpm}
71 cd ${WORKDIR} 71 cd ${WORKDIR}
72 rpm_unpack ${DISTDIR}/${x} || die "${myfail}" 72 rpm_unpack ${DISTDIR}/${x} || die "${myfail}"
73 73
74 # find all tar.gz files and extract for srpms 74 # find all tar.gz files and extract for srpms

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20