| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.4 2012/06/11 14:22:19 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.5 2012/09/27 16:35:42 axs 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 |
| … | |
… | |
| 34 | # |
34 | # |
| 35 | # and however the tarball was originally named, all files will appear |
35 | # and however the tarball was originally named, all files will appear |
| 36 | # in ${WORKDIR}/${P}. |
36 | # in ${WORKDIR}/${P}. |
| 37 | |
37 | |
| 38 | case ${EAPI:-0} in |
38 | case ${EAPI:-0} in |
| 39 | 0|1|2|3|4) ;; |
39 | 0|1|2|3|4|5) ;; |
| 40 | *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established." |
40 | *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established." |
| 41 | esac |
41 | esac |
| 42 | |
42 | |
| 43 | EXPORT_FUNCTIONS src_unpack |
43 | EXPORT_FUNCTIONS src_unpack |
| 44 | |
44 | |