/[gentoo-x86]/eclass/vcs-snapshot.eclass
Gentoo

Diff of /eclass/vcs-snapshot.eclass

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

Revision 1.5 Revision 1.6
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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/vcs-snapshot.eclass,v 1.5 2012/09/27 16:35:42 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.6 2013/02/08 20:51:35 mgorny Exp $
4 4
5# @ECLASS: vcs-snapshot.eclass 5# @ECLASS: vcs-snapshot.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mgorny@gentoo.org 7# mgorny@gentoo.org
8# @BLURB: support eclass for unpacking VCS snapshot tarballs 8# @BLURB: support eclass for unpacking VCS snapshot tarballs
40 *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established." 40 *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established."
41esac 41esac
42 42
43EXPORT_FUNCTIONS src_unpack 43EXPORT_FUNCTIONS src_unpack
44 44
45# @FUNCTION: vcs-snapshot_src_unpack
46# @DESCRIPTION:
47# Extract all the archives from ${A}. The .tar, .tar.gz, .tar.bz2
48# and .tar.xz archives will be unpacked to directories matching their
49# local names. Other archive types will be passed down to regular
50# unpack.
45vcs-snapshot_src_unpack() { 51vcs-snapshot_src_unpack() {
46 local f 52 local f
47 53
48 for f in ${A} 54 for f in ${A}
49 do 55 do

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

  ViewVC Help
Powered by ViewVC 1.1.20