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

Diff of /eclass/eutils.eclass

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

Revision 1.342 Revision 1.343
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/eutils.eclass,v 1.342 2010/04/19 19:54:47 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.343 2010/05/11 20:08:02 mr_bones_ Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1327 [[ -z ${src} ]] && die "Could not locate source for '${src_input}'" 1327 [[ -z ${src} ]] && die "Could not locate source for '${src_input}'"
1328 1328
1329 local shrtsrc=$(basename "${src}") 1329 local shrtsrc=$(basename "${src}")
1330 echo ">>> Unpacking ${shrtsrc} to ${PWD}" 1330 echo ">>> Unpacking ${shrtsrc} to ${PWD}"
1331 if [[ -z ${skip} ]] ; then 1331 if [[ -z ${skip} ]] ; then
1332 local ver=$(grep -a '#.*Makeself' "${src}" | awk '{print $NF}') 1332 local ver=$(grep -m1 -a '#.*Makeself' "${src}" | awk '{print $NF}')
1333 local skip=0 1333 local skip=0
1334 exe=tail 1334 exe=tail
1335 case ${ver} in 1335 case ${ver} in
1336 1.5.*|1.6.0-nv) # tested 1.5.{3,4,5} ... guessing 1.5.x series is same 1336 1.5.*|1.6.0-nv) # tested 1.5.{3,4,5} ... guessing 1.5.x series is same
1337 skip=$(grep -a ^skip= "${src}" | cut -d= -f2) 1337 skip=$(grep -a ^skip= "${src}" | cut -d= -f2)

Legend:
Removed from v.1.342  
changed lines
  Added in v.1.343

  ViewVC Help
Powered by ViewVC 1.1.20